javascript - Catching “angular could not be found on the window” in protractor -
i have angular.js app connects sts login. when run tests need login through sts. when navigate away sts , come randomly
angular not found on window
error occurs. want catch error , retry login because not issue tests have written. can't find attach error handler. example returning promise can attach .catch()
handle error. handle error should attach .catch()
or there similar way of handling this.?
as suggested @emery, trick worked me:
browser.ignoresynchronization=true;
Comments
Post a Comment