chore: enable e2e dump

This commit is contained in:
Junyi Du
2022-11-30 19:29:18 +08:00
parent 1702993f06
commit 7efa4d8da6
2 changed files with 18 additions and 8 deletions

View File

@@ -181,6 +181,14 @@ jobs:
DEBUG: "pw:api"
RELEASE: true # skip dev only test
- name: Save test artifacts - 1/2
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: e2e-test-report-1-of-2
path: e2e-dump/*
retention-days: 1
- name: Run Playwright test - 2/2
run: xvfb-run -- npx playwright test --reporter github --shard=2/2
env:
@@ -188,9 +196,10 @@ jobs:
DEBUG: "pw:api"
RELEASE: true # skip dev only test
- name: Save test artifacts
- name: Save test artifacts - 2/2
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: e2e-test-report
name: e2e-test-report-2-of-2
path: e2e-dump/*
retention-days: 1