Playwright: Fix GHA summary step (#108587)

* Playwright: Fix GHA summary step

* add failure to test

* remove failing test
This commit is contained in:
Josh Hunt
2025-07-25 09:37:15 +01:00
committed by GitHub
parent 0405e5fe52
commit 5febfc7d9b
+5 -1
View File
@@ -286,6 +286,7 @@ jobs:
/home/bench/tests/playwright-results.json
- name: Upload HTML report
id: upload-html
uses: actions/upload-artifact@v4
with:
name: playwright-html-${{ github.run_number }}
@@ -304,10 +305,13 @@ jobs:
- name: Show test results
env:
FAILED: ${{ steps.check-jobs.outputs.any-failed }}
REPORT_URL: ${{ steps.upload-html.outputs.artifact-url }}
# sed removes the leading `../../src/` from the paths
run: |
npx playwright merge-reports --reporter list ./all-blob-reports | sed 's|\(\.\./\)\{1,\}src/|/|g'
npx playwright merge-reports --reporter list ./blobs | sed 's|\(\.\./\)\{1,\}src/|/|g'
if [ "$FAILED" = "true" ]; then
echo ""
echo "Download the test report from $REPORT_URL"
exit 1
fi