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 -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -