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

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

java - disabling a node without disable its children in javafx -

python - PIL cannot identify image file for io.BytesIO object -