Skip to content

Commit 00923e6

Browse files
committed
Add delay to chrome tests, fix when opening a new url too slow
1 parent 5abdd39 commit 00923e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/chrome/extension.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ describe('Chrome extension', function() {
5757
it('should get actions list', async () => {
5858
const url = 'http://zalmoxisus.github.io/examples/router/';
5959
await this.driver.executeScript(`window.open('${url}')`);
60+
await delay(2000);
6061

6162
const tabs = await this.driver.getAllWindowHandles();
6263

0 commit comments

Comments
 (0)