From f6540f89ea871ca5e1303f1c6f332b556b8d2547 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 17 Jul 2023 16:09:59 -0700 Subject: [PATCH] chore(markdown): do not print details for flaky tests (#24264) --- packages/playwright-test/src/reporters/markdown.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/playwright-test/src/reporters/markdown.ts b/packages/playwright-test/src/reporters/markdown.ts index f730ce80a5..114026f864 100644 --- a/packages/playwright-test/src/reporters/markdown.ts +++ b/packages/playwright-test/src/reporters/markdown.ts @@ -60,15 +60,13 @@ class MarkdownReporter extends BaseReporter { lines.push(`:heavy_check_mark::heavy_check_mark::heavy_check_mark:`); lines.push(``); - if (summary.unexpected.length || summary.fatalErrors.length || summary.flaky.length) { + if (summary.unexpected.length || summary.fatalErrors.length) { lines.push(`
`); lines.push(``); if (summary.fatalErrors.length) this._printFatalErrorDetails(summary.fatalErrors, lines); if (summary.unexpected.length) this._printTestListDetails(':x:', summary.unexpected, lines); - if (summary.flaky.length) - this._printTestListDetails(':warning:', summary.flaky, lines); lines.push(`
`); }