简体   繁体   中英

How to be sure that my e2e tests are executed correct?

When I setup that protractor slowly execute tests, I saw that he is all the time on login page, and on the end of executing tests he logged in.

But all tests are executed correctly.

There is 160 tests, 90% page objects (fields, buttons...) is selected by "all" and "xpath":

element.all(by.xpath('/xpath');

I scare that my tests not works as I expect, but that protractor "execute them correct"?

The question is about gathering and displaying information on the tests executions.

You can begin with using the --verbose option.

Second, there are reporters available such as protractor-beautiful-reporter for Angular

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