From 2b4c3456bd2d6e5066c8ead6bffafee7a12d4482 Mon Sep 17 00:00:00 2001 From: "helpcode.ai" <340500827+helpcodeai@users.noreply.github.com> Date: Mon, 19 Oct 2026 09:26:00 +0200 Subject: [PATCH] ci: upload Playwright traces from test-results on failure --- .github/workflows/playwright.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index f16a01f91..bff24f095 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -34,10 +34,13 @@ jobs: env: NEXT_PUBLIC_API_URL: http://localhost:4100 - - name: Upload Playwright report on failure + # The list reporter writes no playwright-report/; the traces of failed + # and retried tests (trace: on-first-retry) land in test-results/. + - name: Upload Playwright traces on failure if: failure() uses: actions/upload-artifact@v7 with: - name: playwright-report - path: packages/frontend/playwright-report/ + name: playwright-test-results + path: packages/frontend/test-results/ + if-no-files-found: ignore retention-days: 14