Skip to content
Snippets Groups Projects
Commit 9bef38e9 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Remove try-it step from more integration tests

parent fb9c3eed
No related branches found
No related tags found
No related merge requests found
......@@ -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"]`;
......
......@@ -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');
......
......@@ -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
......
......@@ -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)
......
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment