Adjust merge.config.ts & browser e2e workflow

This commit is contained in:
Xon 2026-03-10 18:54:39 +08:00
commit 820c398d33
2 changed files with 7 additions and 3 deletions

View file

@ -57,13 +57,17 @@ jobs:
- name: Run Playwright tests
run: npx playwright test --project=${{ matrix.browser }}
- uses: actions/upload-artifact@v4
name: Upload screenshots to GitHub Actions Artifacts
if: failure()
with:
name: screenshot-${{ matrix.os }}-${{ matrix.browser }}
path: test-results/**/*.png
- uses: actions/upload-artifact@v4
if: '!cancelled()'
name: Upload blob report to GitHub Actions Artifacts
if: ${{ !cancelled() }}
with:
name: blob-report-${{ matrix.os }}-${{ matrix.browser }}
path: blob-report/

View file

@ -1,4 +1,4 @@
export default {
testDir: 'e2e',
reporter: [['html', { open: 'never' }]],
testDir: 'test-e2e',
reporter: [['html', { open: 'never' }], ['github']],
};