diff --git a/lib/protractor.js b/lib/protractor.js index c3b45e2c0..a942294c3 100644 --- a/lib/protractor.js +++ b/lib/protractor.js @@ -320,7 +320,9 @@ Protractor.prototype.waitForAngular = function(opt_description) { var description = opt_description ? ' - ' + opt_description : ''; var self = this; if (this.ignoreSynchronization) { - return webdriver.promise.fulfilled(); + return self.driver.controlFlow().execute(function() { + return true; + }, 'Ignore Synchronization Protractor.waitForAngular()'); } return this.executeAsyncScript_(