diff --git a/test/integration/backdrops.test.js b/test/integration/backdrops.test.js index 80a4a5650352a0710c2590cb0e31b4c5ae262e72..361574c2ff5cb9e7ea735c5ddcce863cdfb018a7 100644 --- a/test/integration/backdrops.test.js +++ b/test/integration/backdrops.test.js @@ -56,7 +56,6 @@ describe('Working with backdrops', () => { path.resolve(__dirname, '../fixtures/100-100.svg') ]; await loadUri(uri); - await clickXpath('//button[@title="Try It"]'); const buttonXpath = '//button[@aria-label="Choose a Backdrop"]'; const fileXpath = `${buttonXpath}/following-sibling::div//input[@type="file"]`; diff --git a/test/integration/blocks.test.js b/test/integration/blocks.test.js index fe8dfe402e9d12f4e004c1ce990f885b0f18589a..938508111ce538ee59d18aadb373a434b2d48429 100644 --- a/test/integration/blocks.test.js +++ b/test/integration/blocks.test.js @@ -185,7 +185,6 @@ describe('Working with the blocks', () => { test('Renaming costume with a special character should not break toolbox', async () => { await loadUri(uri); - await clickXpath('//button[@title="Try It"]'); // Rename the costume await clickText('Costumes'); diff --git a/test/integration/localization.test.js b/test/integration/localization.test.js index d2baa36c0406e50c24729b38e354905554c07a95..5c1403658eb75f9651eccdea91787a528e530818 100644 --- a/test/integration/localization.test.js +++ b/test/integration/localization.test.js @@ -60,7 +60,6 @@ describe('Localization', () => { // Regression test for #4476, blocks in wrong language when loaded with locale test('Loading with locale shows correct blocks', async () => { await loadUri(`${uri}?locale=de`); - await clickXpath('//button[@title="Ausprobieren!"]'); // "Try It" await clickText('Fühlen'); // Sensing category in German await new Promise(resolve => setTimeout(resolve, 1000)); // wait for blocks to scroll await clickText('Antwort'); // Find the "answer" block in German diff --git a/test/integration/sounds.test.js b/test/integration/sounds.test.js index 4dc9fc55cc075149e96292460d4d108eb1c50b24..29ffba49fb93b43a563e05c68cf259511a9a1bef 100644 --- a/test/integration/sounds.test.js +++ b/test/integration/sounds.test.js @@ -118,7 +118,6 @@ describe('Working with sounds', () => { path.resolve(__dirname, '../fixtures/sneaker.wav') ]; await loadUri(uri); - await clickXpath('//button[@title="Try It"]'); await clickText('Sounds'); const el = await findByXpath('//button[@aria-label="Choose a Sound"]'); await driver.actions().mouseMove(el) diff --git a/test/integration/sprites.test.js b/test/integration/sprites.test.js index d70e75d2ccd74a5d02b600b698fd6d35d262f792..131fb544c34bed66da9137c9ac96d44c3b92a833 100644 --- a/test/integration/sprites.test.js +++ b/test/integration/sprites.test.js @@ -156,7 +156,6 @@ describe('Working with sprites', () => { path.resolve(__dirname, '../fixtures/100-100.svg') ]; await loadUri(uri); - await clickXpath('//button[@title="Try It"]'); const el = await findByXpath('//button[@aria-label="Choose a Sprite"]'); await driver.actions().mouseMove(el) .perform();