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

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

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

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