tests: Fix E2E tests for Spectron 11.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-08-25 15:33:40 -07:00
parent 8d4d168988
commit 6404bed519
4 changed files with 6 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ test('new-org-link', async t => {
try {
await setup.waitForLoad(app, t);
await app.client.windowByIndex(1); // Focus on webview
await app.client.click('#open-create-org-link'); // Click on new org link button
await (await app.client.$('#open-create-org-link')).click(); // Click on new org link button
await setup.wait(5000);
await setup.endTest(app, t);
} catch (error) {