I am using Protractor to test my code written in AngularJS
Probably there is some $timeout running in my AngularJS code which is making Protractor wait too long until it times out and gives error. But I am not able to figure out where in my code I am doing a continuous timeout/polling. Might be some library I am using but not sure.
Is there a global way to check in Angular how many timeouts are pending overall?
I am getting this error:
Uncaught exception: Timed out waiting for Protractor to synchronize with the page after 10 seconds. Please see http://ift.tt/OLBPn9
I have also tried increasing default timeout of page load from 10secs to upto 60secs which is way more than enough for my page to load. But still no success.
Aucun commentaire:
Enregistrer un commentaire