diff --git a/.github/workflows/browsers.yml b/.github/workflows/browsers.yml index 02605544..833a2fd4 100644 --- a/.github/workflows/browsers.yml +++ b/.github/workflows/browsers.yml @@ -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/ diff --git a/test-e2e/merge.config.ts b/test-e2e/merge.config.ts index c6334f57..821d4f52 100644 --- a/test-e2e/merge.config.ts +++ b/test-e2e/merge.config.ts @@ -1,4 +1,4 @@ export default { - testDir: 'e2e', - reporter: [['html', { open: 'never' }]], + testDir: 'test-e2e', + reporter: [['html', { open: 'never' }], ['github']], };