Skip to content

Commit

Permalink
Fix skipped test counters in hierarchy template (#233)
Browse files Browse the repository at this point in the history
Closes #230.

Co-authored-by: Anton Gorbunov <AGorbunov10@slb.com>
  • Loading branch information
sv3k and Anton Gorbunov authored Jan 21, 2021
1 parent 49ccd99 commit 247269a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ var generateReport = function (options) {
subSuite ? hierarchyReporter.recursivelyIncrementStat(subSuite, 'ambiguous') : suite.ambiguous++;
} else if (feature.scenarios.count === feature.scenarios.skipped) {
featuresSummary.skipped++;
subSuite ? hierarchyReporter.recursivelyIncrementStat(subSuite, 'passed') : suite.passed++;
subSuite ? hierarchyReporter.recursivelyIncrementStat(subSuite, 'skipped') : suite.skipped++;
} else if (feature.scenarios.count === feature.scenarios.notdefined) {
featuresSummary.notdefined++;
subSuite ? hierarchyReporter.recursivelyIncrementStat(subSuite, 'passed') : suite.passed++;
Expand Down

0 comments on commit 247269a

Please sign in to comment.