only show failed issues

This commit is contained in:
Connor 2024-10-15 13:13:19 -05:00
parent b9ac788b26
commit 39c3c54f81
No known key found for this signature in database
GPG key ID: 455C6C81CB2BD091
6 changed files with 6836 additions and 8068 deletions

View file

@ -233,6 +233,9 @@ function getTestsReport(ts: TestSuiteResult, runIndex: number, suiteIndex: numbe
}
const space = grp.name ? ' ' : ''
for (const tc of grp.tests) {
if (options.listTests === 'failed' && tc.result !== 'failed') {
continue
}
if (options.listTests === 'non-skipped' && tc.result === 'skipped') {
continue
}