From 58b14f9054e141f3ec786e9c7d0e7fcb071fe62a Mon Sep 17 00:00:00 2001 From: Connor Vidlock Date: Tue, 30 Jan 2024 10:03:34 -0600 Subject: [PATCH] forgot to rebuild dist package --- .github/workflows/playwright-report-test.yml | 1 + dist/index.js | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/playwright-report-test.yml b/.github/workflows/playwright-report-test.yml index c846f9d..86332ff 100644 --- a/.github/workflows/playwright-report-test.yml +++ b/.github/workflows/playwright-report-test.yml @@ -23,3 +23,4 @@ jobs: reporter: java-junit show-html-notice: true list-tests: 'non-skipped' + fail-on-error: false diff --git a/dist/index.js b/dist/index.js index 8c23d51..3bad222 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1691,13 +1691,7 @@ 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}` : ''; - let skipped; - if (options.listTests === 'non-skipped') { - return [tsNameLink, passed, failed, '', tsTime]; - } - else { - skipped = s.skipped > 0 ? `${s.skipped}${markdown_utils_1.Icon.skip}` : ''; - } + const skipped = s.skipped > 0 ? `${s.skipped}${markdown_utils_1.Icon.skip}` : ''; return [tsNameLink, passed, failed, skipped, tsTime]; })); sections.push(suitesTable);