fix(e2e): expand timeout to compensate for snapshot

This commit is contained in:
Ken Sodemann
2018-02-02 13:19:45 -06:00
parent 909808161e
commit 58952d3c12
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ module.exports = class E2ETestPage {
}
async present(clickTarget, options) {
await this.navigate();
await this.navigate(clickTarget);
this.driver.findElement(By.css(clickTarget)).click();
await this.driver.wait(until.elementLocated(By.css(options.waitFor)));
return await this.driver.wait(until.elementIsVisible(this.driver.findElement(By.css(options.waitFor))));