diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c03fda47..5e2c457e 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -168,11 +168,14 @@ jobs: - name: Run Playwright run: npx playwright test + # always() (not !cancelled()) so the report still uploads when the job is + # cancelled by the timeout — that's exactly when you most need the traces. - uses: actions/upload-artifact@v4 - if: ${{ !cancelled() }} + if: always() with: name: playwright-report path: | playwright-report/ test-results/ retention-days: 14 + if-no-files-found: ignore