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

asp.net mvc - Cannot display error message on Editor or EditorFor -

Reliable way to get Windows Version from registry -

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