mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
add playwright-report file to test skipped
This commit is contained in:
parent
9c2f1cf0f7
commit
926bb5420a
3 changed files with 480 additions and 2 deletions
8
dist/index.js
generated
vendored
8
dist/index.js
generated
vendored
|
|
@ -1688,7 +1688,13 @@ function getSuitesReport(tr, runIndex, options) {
|
|||
const tsNameLink = skipLink ? tsName : (0, markdown_utils_1.link)(tsName, tsAddr);
|
||||
const passed = s.passed > 0 ? `${s.passed}${markdown_utils_1.Icon.success}` : '';
|
||||
const failed = s.failed > 0 ? `${s.failed}${markdown_utils_1.Icon.fail}` : '';
|
||||
const skipped = s.skipped > 0 ? `${s.skipped}${markdown_utils_1.Icon.skip}` : '';
|
||||
let skipped;
|
||||
if (options.listSuites === 'non-skipped') {
|
||||
return [tsNameLink, passed, failed, tsTime];
|
||||
}
|
||||
else {
|
||||
skipped = s.skipped > 0 ? `${s.skipped}${markdown_utils_1.Icon.skip}` : '';
|
||||
}
|
||||
return [tsNameLink, passed, failed, skipped, tsTime];
|
||||
}));
|
||||
sections.push(suitesTable);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue