Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
fix: do not show skipped tests in retries
Browse files Browse the repository at this point in the history
  • Loading branch information
eGavr committed Oct 20, 2016
1 parent 69d5ec7 commit 799dc80
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/reporters/html/view-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,12 @@ module.exports = class ViewModel {
}

const stateInBrowser = node.browsers[existing];
const retry = stateInBrowser.result;
const previousResult = stateInBrowser.result;

if (!previousResult.skipped) {
stateInBrowser.retries.push(previousResult);
}

stateInBrowser.retries.push(retry);
stateInBrowser.result = testResult;
}

Expand Down

0 comments on commit 799dc80

Please sign in to comment.