From 38d86940cb36d740d54bf5c281676667459dcd49 Mon Sep 17 00:00:00 2001 From: Oleksii Siniavtsev Date: Wed, 4 Dec 2024 22:12:33 +0100 Subject: [PATCH] fixes #20 - include skipped Postman assertion step write individual test status --- src/generate-report.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generate-report.ts b/src/generate-report.ts index 09423a8..49df30e 100644 --- a/src/generate-report.ts +++ b/src/generate-report.ts @@ -161,7 +161,7 @@ class GenerateCtrfReport { status: assertion.error != null ? ('failed' as CtrfTestState) - : ('passed' as CtrfTestState), + : assertion.skipped ? ('skipped' as CtrfTestState) : ('passed' as CtrfTestState), duration: execution.response.responseTime, }