In the transporter test, there is a way to wait between a test run

Is there a way in protractor to add an explicit wait between each test run that has the same effect as Thread.sleep in Java?

+5
source share
1 answer

you can either run the protractor in debug mode

run protractor debug debugging/yourConfigFile.js

and add browser.debugger(); into the test spec where you want to stop

here is a link to documents for debugging

or just use browser.sleep(valueInMilliSeconds);

+11
source

Source: https://habr.com/ru/post/1200298/


All Articles