Hi all, I know this is too out of date, but I just want to mention that, the below link includes all kinds of timeout issues and solutions for them. https://github.com/angular/protractor/blob/master/docs/timeouts.md
Also, I found that, for the links which will redirect us out of our application, we should use browser.driver.getCurrentUrl(); rather than browser.getCurrentUrl(); to grab the url and check if that is the same one from the requirement. Thank you, Jason On Wednesday, March 12, 2014 8:26:35 AM UTC-4, Matt Calthrop wrote: > > Hi > > I have a requirement to write several e2e tests that wait until the > contents of an element on the page change. > > The time this takes cannot be predetermined – but if it doesn't change > before the browser times out, then the test will be deemed to have failed. > > I could use *setInterval()* and *clearInterval()* to implement simple > polling functionality, but that doesn't quite seem the right way to go > about it. > > Anybody got any better suggestions? > > I'm using Protractor 0.20.1. > > cheers > > Matt > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
