13
.github/workflows/end-to-end-tests.yaml
vendored
13
.github/workflows/end-to-end-tests.yaml
vendored
@@ -122,6 +122,8 @@ jobs:
|
|||||||
project: Firefox
|
project: Firefox
|
||||||
- runAllTests: false
|
- runAllTests: false
|
||||||
project: WebKit
|
project: WebKit
|
||||||
|
env:
|
||||||
|
PLAYWRIGHT_BLOB_OUTPUT_NAME: blob-report-${{ matrix.project }}-${{ matrix.runner }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -185,8 +187,8 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: blob-report-${{ matrix.project }}-${{ matrix.runner }}
|
name: ${{ env.PLAYWRIGHT_BLOB_OUTPUT_NAME }}
|
||||||
path: blob-report
|
path: ${{ env.PLAYWRIGHT_BLOB_OUTPUT_NAME }}
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
report:
|
report:
|
||||||
@@ -212,11 +214,8 @@ jobs:
|
|||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
pattern: blob-report-*
|
pattern: blob-report-*
|
||||||
|
path: all-blob-reports
|
||||||
# Ideally we'd use merge-multiple=true on download, but it is broken in certain cases
|
merge-multiple: true
|
||||||
# https://github.com/microsoft/playwright/issues/29451
|
|
||||||
- name: Merge blob reports
|
|
||||||
run: for z in blob-report-*/*.zip; do unzip "$z" -d all-blob-reports; done
|
|
||||||
|
|
||||||
- name: Merge into HTML Report
|
- name: Merge into HTML Report
|
||||||
run: yarn playwright merge-reports --reporter=html,json,./playwright/flaky-reporter.ts,./playwright/stale-screenshot-reporter.ts ./all-blob-reports
|
run: yarn playwright merge-reports --reporter=html,json,./playwright/flaky-reporter.ts,./playwright/stale-screenshot-reporter.ts ./all-blob-reports
|
||||||
|
|||||||
Reference in New Issue
Block a user