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 -

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

Why does a .NET 4.0 program produce a system.unauthorizedAccess error on a Windows Server 2012 machine with .NET 4.5 installed? -