Skip to content

Commit

Permalink
update report url
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkae committed Feb 7, 2025
1 parent bf2c16a commit 252ebb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ jobs:
if: ${{ !cancelled() && steps.run-playwright-tests.outcome == 'failure' }}
run: |
echo "${{ steps.mto.outputs.body }}" >> $GITHUB_STEP_SUMMARY
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
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
6 changes: 1 addition & 5 deletions e2e/config/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {
Reporter, Suite, TestCase,
} from '@playwright/test/reporter'

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

import fs from 'fs'
import path from 'path'
Expand All @@ -23,10 +23,6 @@ class StkReporter implements Reporter {
this.failedTestErrors = []
}

stripAnsiEscapes( str: string ): string {
return str.replace( ansiRegex, '' )
}

cleanupFolder() {
const folderPath = path.resolve( this.outputFolder )

Expand Down

0 comments on commit 252ebb1

Please sign in to comment.