Skip to content

Commit 598cb31

Browse files
committed
presume test case passed if no step results
1 parent 41c4489 commit 598cb31

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

javascript/src/SummaryPrinter.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ export class SummaryPrinter {
3535
const scenarioCountsByStatus = this.query
3636
.findAllTestCaseFinished()
3737
.map((testCaseFinished) => this.query.findMostSevereTestStepResultBy(testCaseFinished))
38-
.map((testStepResult) => testStepResult?.status)
39-
.filter((status) => !!status)
38+
.map((testStepResult) => testStepResult?.status ?? TestStepResultStatus.PASSED)
4039
.reduce(
4140
(prev, status) => {
4241
return {

0 commit comments

Comments
 (0)