diff --git a/test/integration/test.js b/test/integration/test.js
index e73b6b5cde763d1392b0ad803a431ed5aef59eed..ca54db33788c5d594c547e5755c3422f706dffc0 100644
--- a/test/integration/test.js
+++ b/test/integration/test.js
@@ -88,7 +88,7 @@ describe('costumes, sounds and variables', () => {
         await clickText('Add Sound');
         let el = await findByXpath("//input[@placeholder='what are you looking for?']");
         await el.sendKeys('meow');
-        await clickText('meow'); // Should close the modal
+        await clickText('Meow', modalScope); // Should close the modal
 
         // Add a new sound
         await clickText('Add Sound');