test(e2e): update e2e tests to pass

This commit is contained in:
Brandy Carney
2018-03-20 14:06:08 -04:00
parent 9094c66f3d
commit 769282935b
5 changed files with 5 additions and 13 deletions

View File

@ -7,13 +7,6 @@ class E2ETestPage extends Page {
constructor(driver, platform) {
super(driver, `http://localhost:3333/src/components/modal/test/basic?ionicplatform=${platform}`);
}
async present(buttonId) {
await this.navigate('#presentModal');
this.driver.findElement(By.id(buttonId)).click();
await this.driver.wait(until.elementLocated(By.css('.modal-wrapper')));
return await this.driver.wait(until.elementIsVisible(this.driver.findElement(By.css('.modal-wrapper'))));
}
}
platforms.forEach(platform => {