I am writing test cases in protractor E2E. I want that when I run the case,
and when I press save, then a Growl message is shown with success or error.
this.growlMessage = function () {
return element(by.css("div[ng-bind='message.text']")).getText();}
Now I am able to fetch the message if we are having error because it stays
there as long it is closed. But the success message disappears after some time
automatically. In Protractor, the case keeps waiting for the Growl to disappear
and then perform the next execution. I think protractor is waiting for the
growl to finish it work.
How can we wait for this and get the text ?
--
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.