documoto / testing

0 stars 0 forks source link

Implement retrying failed tests an extra time(s) #55

Closed AlexKldnski closed 2 years ago

AlexKldnski commented 2 years ago

Retry is set count "2" for all specs in the main config file "wdio.conf.js", in "mochaOpts" image.png

AlexKldnski commented 2 years ago

As the above mentioned solution was only rerunning failed tests within "it" blocks, which only worked with certain tests, config file settings updated the way a whole spec file gets re-run an extra time, with a second delay, after it fails. This looks to improve tests pass rate. image.png

image.png