webdriverio-community / wdio-html-reporter

Fork of wdio-html-format-reporter
MIT License
18 stars 27 forks source link

Retrying tests mark failed tests as "pass" #43

Closed gowthamraj198 closed 3 years ago

gowthamraj198 commented 3 years ago

Expected: When a test is failed and we rerun the test. Both the runs should be marked as failed. Actual In the test report, we are marking only last run as failed and not the previous runs.

Steps:

  1. retry any failing test and run the test more than once.
  2. check the aggregate report. 1st run marked as pass Both the runs failed