From 34c8516d0974cd829d4e1d3295d6258c5c29b688 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 17 Nov 2023 16:53:36 -0800 Subject: [PATCH] fix: correctly print number of interrupted tests in markdown (#28228) --- packages/playwright/src/reporters/markdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playwright/src/reporters/markdown.ts b/packages/playwright/src/reporters/markdown.ts index 52f67a548e..a32d7bda42 100644 --- a/packages/playwright/src/reporters/markdown.ts +++ b/packages/playwright/src/reporters/markdown.ts @@ -57,7 +57,7 @@ class MarkdownReporter extends BaseReporter { } if (summary.interrupted.length) { lines.push(`
`); - lines.push(`${summary.flaky.length} interrupted`); + lines.push(`${summary.interrupted.length} interrupted`); this._printTestList(':warning:', summary.interrupted, lines, '
'); lines.push(`
`); lines.push(``);