Hey guys,

I have to test a web application and measure the time between clicking a button and getting a popup dialog that gives me an error or a positive feedback.
I got protractor to open the browser, go to the specific URL and click a button.
After clicking a button protractor should wait for a modal dialog to pop up (and get the time right when the button is clicked and when the dialog pops up).
How can I do that?

When I do the test manually, it can take between 5 and 30 seconds for the website to give a feedback.


theboda