diff --git a/.github/actions/run-playwright/action.yml b/.github/actions/run-playwright/action.yml index 6679d61d..fcc401f9 100644 --- a/.github/actions/run-playwright/action.yml +++ b/.github/actions/run-playwright/action.yml @@ -13,15 +13,11 @@ runs: - name: Run Playwright tests run: npm run playwright-test -- --tracing=retain-on-failure --html=reports/report.html shell: bash - - name: Upload traces + - name: Upload Playwright traces and report uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: - name: playwright-traces - path: playwright/tests/test-results/ - - name: Upload HTML report - uses: actions/upload-artifact@v4 - if: ${{ !cancelled() }} - with: - name: playwright-html-report - path: playwright/tests/reports + name: playwright-traces-and-report + path: | + playwright/tests/test-results/ + playwright/tests/reports/