mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore(markdown): do not print details for flaky tests (#24264)
This commit is contained in:
parent
15b9e5afdb
commit
f6540f89ea
@ -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>`);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user