diff --git a/.github/actions/run-playwright/action.yml b/.github/actions/run-playwright/action.yml index 9323ca77..6679d61d 100644 --- a/.github/actions/run-playwright/action.yml +++ b/.github/actions/run-playwright/action.yml @@ -11,10 +11,17 @@ runs: run: npm run playwright-install shell: bash - name: Run Playwright tests - run: npm run playwright-test -- --tracing=retain-on-failure + run: npm run playwright-test -- --tracing=retain-on-failure --html=reports/report.html shell: bash - - uses: actions/upload-artifact@v4 + - name: Upload traces + 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