Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(markdown): do not print details for flaky tests (#24264)
Yury Semikhatskyf6540f89ea87
diff --git a/packages/playwright-test/src/reporters/markdown.ts b/packages/playwright-test/src/reporters/markdown.tsindex 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(`<details>`);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(`</details>`);}