Skip to content
Snippets Groups Projects
Commit 50e6fcf3 authored by chrisgarrity's avatar chrisgarrity
Browse files

Fix localization test.

parent 3941c91e
No related branches found
No related tags found
No related merge requests found
...@@ -25,8 +25,7 @@ describe('Localization', () => { ...@@ -25,8 +25,7 @@ describe('Localization', () => {
test('Localization', async () => { test('Localization', async () => {
await loadUri(uri); await loadUri(uri);
await clickXpath('//button[@title="Try It"]'); await clickXpath('//button[@title="Try It"]');
await clickXpath('//*[@aria-label="language selector"]'); await clickXpath('//*[@aria-label="language selector"]/following-sibling::select');
await clickText('English');
await clickText('Deutsch'); await clickText('Deutsch');
await new Promise(resolve => setTimeout(resolve, 1000)); // wait for blocks refresh await new Promise(resolve => setTimeout(resolve, 1000)); // wait for blocks refresh
......
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