add playwright-report file to test skipped

This commit is contained in:
Connor Vidlock 2024-01-29 15:42:01 -06:00
parent 9c2f1cf0f7
commit 926bb5420a
No known key found for this signature in database
GPG key ID: BADEF4A267C14600
3 changed files with 480 additions and 2 deletions

8
dist/index.js generated vendored
View file

@ -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);