mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(e2e): expand timeout to compensate for snapshot
This commit is contained in:
@@ -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))));
|
||||
|
||||
Reference in New Issue
Block a user