Skip to content

Commit

Permalink
added more webdriver debug [skip-release]
Browse files Browse the repository at this point in the history
  • Loading branch information
tompahoward committed Nov 9, 2020
1 parent b663a97 commit caab4de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/test/clients/waychaser-via-webdriver-remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class WaychaserViaWebdriverRemote extends WaychaserViaWebdriver {

async beforeTest(scenario) {
this.driver = await this.buildDriver(scenario.pickle.name);
logger.debug('driver built');
await this.loadWaychaserTestPage();

super.beforeTest(scenario);
Expand Down
3 changes: 2 additions & 1 deletion src/test/clients/waychaser-via-webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class WaychaserViaWebdriver {
}

async loadWaychaserTestPage() {
logger.debug('...loading page');
await this.driver.get(`http://localhost:${process.env.BROWSER_PORT}`);
logger.debug('...page loaded');
await this.driver.wait(() => {
Expand All @@ -71,7 +72,7 @@ class WaychaserViaWebdriver {
return window.waychaser != undefined;
}
);
}, 5000);
}, 20000);
}

async beforeAllTests() {}
Expand Down

0 comments on commit caab4de

Please sign in to comment.