简体   繁体   中英

How to reduce speed of e2e test in angular2 using protractor?

I am running e2e test cases for angular2 app using protractor.

So far my tests are getting compiled & results are generated.

But I cant see whats happening on browser as operations are quite fast.

I want to know how to reduce the speed of these test cases so I will be able to track the form data & other things correctly.

If I can add delay then how to do it?

thanks

pauses the script, need to have console opend

 document.body.innerHTML = 20; var x = 15 * 5; debugger; document.body.innerHTML = x; 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM