angularjs - Waitforangular call timed out if there are no http call on page -


we using protractor framework e2e testing.

we have seen odd behavior waitforangular(); call getting timed out if there no http call on page. working fine if using sleep call in place of waitforangular(); call.

please share views solve issue.

thanks in advance.

try add :

 describe("long asynchronous specs", function() {     beforeeach(function(done) {      waitforangular();       done();     }, 10000);    // code here     waitforangular();    aftereach(function(done) {      waitforangular();       done();     }, 10000);   } 

Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -