Skip to content

Commit 051a04c

Browse files
committed
Remove unnecessary steps from flaky localization test that was timing out.
1 parent c5aa246 commit 051a04c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/integration/localization.test.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,12 @@ describe('Localization', () => {
2525
});
2626

2727
test('Switching languages', async () => {
28-
await driver.quit();
29-
driver = getDriver();
3028
await loadUri(uri);
3129

3230
// Add a sprite to make sure it stays when switching languages
33-
await clickText('Costumes');
3431
await clickXpath('//button[@aria-label="Choose a Sprite"]');
3532
await clickText('Apple', scope.modal); // Closes modal
3633

37-
await clickText('Code');
3834
await clickXpath('//*[@aria-label="language selector"]');
3935
await clickText('Deutsch');
4036
await new Promise(resolve => setTimeout(resolve, 1000)); // wait for blocks refresh

0 commit comments

Comments
 (0)