Skip to content

Commit

Permalink
Add delay to chrome tests, fix when opening a new url too slow
Browse files Browse the repository at this point in the history
  • Loading branch information
zalmoxisus committed Nov 17, 2018
1 parent 5abdd39 commit 00923e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/chrome/extension.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ describe('Chrome extension', function() {
it('should get actions list', async () => {
const url = 'http://zalmoxisus.github.io/examples/router/';
await this.driver.executeScript(`window.open('${url}')`);
await delay(2000);

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

Expand Down

0 comments on commit 00923e6

Please sign in to comment.