From d9d607ffb044a771e75aceb4bcc71badad7a4b02 Mon Sep 17 00:00:00 2001
From: Andrew Sliwinski <andrewsliwinski@acm.org>
Date: Tue, 28 Nov 2017 08:20:06 -0500
Subject: [PATCH] Fix issues with string matching in integration tests

---
 test/integration/test.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/integration/test.js b/test/integration/test.js
index 4096c2d90..3d8c0da4c 100644
--- a/test/integration/test.js
+++ b/test/integration/test.js
@@ -69,9 +69,9 @@ describe('costumes, sounds and variables', () => {
         await clickText('Add Costume');
         const el = await findByXpath("//input[@placeholder='what are you looking for?']");
         await el.sendKeys('abb');
-        await clickText('abby-a'); // Should close the modal, then click the costumes in the selector
+        await clickText('Abby-a'); // Should close the modal, then click the costumes in the selector
         await clickText('costume1', costumesTabScope);
-        await clickText('abby-a', costumesTabScope);
+        await clickText('Abby-a', costumesTabScope);
         const logs = await getLogs(errorWhitelist);
         await expect(logs).toEqual([]);
     });
@@ -90,8 +90,8 @@ describe('costumes, sounds and variables', () => {
         await clickText('Add Sound');
         const el = await findByXpath("//input[@placeholder='what are you looking for?']");
         await el.sendKeys('chom');
-        await clickText('chomp'); // Should close the modal, then click the sounds in the selector
-        await clickText('chomp', soundsTabScope);
+        await clickText('Chomp'); // Should close the modal, then click the sounds in the selector
+        await clickText('Chomp', soundsTabScope);
         await clickXpath('//button[@title="Play"]');
 
         await clickText('Louder');
-- 
GitLab