revert change to browser.ignoreSynchronization

This commit is contained in:
Filipe Silva 2016-11-09 17:21:12 +00:00
parent e9469e55f2
commit b0ca4f5040
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export function setProtractorToNg1Mode(): void {
// bootstrap with Angular 1 at the moment. Get around it by
// waiting for an element to get `ng-scope` class.
export function waitForNg1AsyncBootstrap() {
browser.ng12Hybrid = true;
browser.ignoreSynchronization = true;
browser.driver.wait(function() {
return element(by.css('.ng-scope')).isPresent();
}, 5000);