build(examples): upgrade to protractor 4.0.9 (#12803)

closes #12798
This commit is contained in:
Victor Berchet
2016-11-10 18:13:11 -08:00
committed by GitHub
parent fcb4e66493
commit 1bd858fb43
53 changed files with 254 additions and 279 deletions

View File

@ -7,11 +7,11 @@
*/
import {verifyNoBrowserErrors} from 'e2e_util/e2e_util';
import {$, ExpectedConditions, browser, by, element} from 'protractor';
function waitForElement(selector: string) {
const EC = protractor.ExpectedConditions;
// Waits for the element with id 'abc' to be present on the dom.
browser.wait(EC.presenceOf($(selector)), 20000);
browser.wait(ExpectedConditions.presenceOf($(selector)), 20000);
}
describe('routing inbox-app', () => {