Skip to content

Commit a42c89e

Browse files
committed
add report to summary
1 parent 5b44cef commit a42c89e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,5 @@ jobs:
9696
- name: Add test results to summary
9797
if: ${{ !cancelled() && steps.run-playwright-tests.outcome == 'failure' }}
9898
run: |
99-
echo "### Results for PHP ${{ matrix.php_version }} and WP ${{ matrix.wp_version || 'latest' }}" >> $GITHUB_STEP_SUMMARY
10099
echo "${{ steps.mto.outputs.body }}" >> $GITHUB_STEP_SUMMARY
100+
echo "Report: [playwright-report-php_${{ matrix.php_version }}-wp_${{ env.WP_VERSION }}-${{ env.VERSION_SUFFIX }}.zip](${{ steps.artifact-upload-step.outcome.artifact-url}})"

e2e/config/reporter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ class StkReporter implements Reporter {
114114
115115
Failed Tests:
116116
${ unexpectedTestTitles.join( '\n' ) }
117+
117118
`
118119

119120
const folderPath = path.resolve( this.outputFolder )

0 commit comments

Comments
 (0)