Skip to content

Commit 9125f09

Browse files
fix expected skipped status (#30)
1 parent 70fd138 commit 9125f09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/generate-report.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ class GenerateCtrfReport implements Reporter {
185185
const test: CtrfTest = {
186186
name: testCase.title,
187187
status:
188-
testResult.status === testCase.expectedStatus
188+
testResult.status === testCase.expectedStatus &&
189+
testResult.status !== 'skipped'
189190
? 'passed'
190191
: this.mapPlaywrightStatusToCtrf(testResult.status),
191192
duration: testResult.duration,

0 commit comments

Comments
 (0)