diff --git a/.github/actions/run-playwright/action.yml b/.github/actions/run-playwright/action.yml index 3f3f7b1a..fcc401f9 100644 --- a/.github/actions/run-playwright/action.yml +++ b/.github/actions/run-playwright/action.yml @@ -11,5 +11,13 @@ runs: run: npm run playwright-install shell: bash - name: Run Playwright tests - run: npm run playwright-test + run: npm run playwright-test -- --tracing=retain-on-failure --html=reports/report.html shell: bash + - name: Upload Playwright traces and report + uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: playwright-traces-and-report + path: | + playwright/tests/test-results/ + playwright/tests/reports/ diff --git a/requirements.txt b/requirements.txt index 132ed84f..e0774c0e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,8 @@ colorama==0.4.6 greenlet==3.0.3 idna==3.7 iniconfig==2.0.0 +Jinja2==3.1.4 +MarkupSafe==2.1.5 packaging==24.1 playwright==1.44.0 pluggy==1.5.0 @@ -11,6 +13,8 @@ psutil==5.9.8 pyee==11.1.0 pytest==8.2.2 pytest-base-url==2.1.0 +pytest-html==4.1.1 +pytest-metadata==3.1.1 pytest-playwright==0.5.0 pytest-xprocess==1.0.2 python-slugify==8.0.4