Skip to content

Commit 252ebb1

Browse files
committed
update report url
1 parent bf2c16a commit 252ebb1

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ jobs:
9797
if: ${{ !cancelled() && steps.run-playwright-tests.outcome == 'failure' }}
9898
run: |
9999
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}})" >> $GITHUB_STEP_SUMMARY
100+
echo "Report: [playwright-report-php_${{ matrix.php_version }}-wp_${{ env.WP_VERSION }}-${{ env.VERSION_SUFFIX }}.zip](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }})" >> $GITHUB_STEP_SUMMARY

e2e/config/reporter.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type {
44
Reporter, Suite, TestCase,
55
} from '@playwright/test/reporter'
66

7-
import { ansiRegex, ms } from 'e2e/test-utils'
7+
import { ms } from 'e2e/test-utils'
88

99
import fs from 'fs'
1010
import path from 'path'
@@ -23,10 +23,6 @@ class StkReporter implements Reporter {
2323
this.failedTestErrors = []
2424
}
2525

26-
stripAnsiEscapes( str: string ): string {
27-
return str.replace( ansiRegex, '' )
28-
}
29-
3026
cleanupFolder() {
3127
const folderPath = path.resolve( this.outputFolder )
3228

0 commit comments

Comments
 (0)