From 0b46510db8dbed758835a4d8ca640b60a9358fd9 Mon Sep 17 00:00:00 2001 From: Devon Mar Date: Tue, 14 May 2024 16:59:15 -0700 Subject: [PATCH] Save Playwright traces --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e8b8c2..cc9acde 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,14 @@ jobs: - name: Run pytest run: | - poetry run pytest -v + poetry run pytest --tracing=retain-on-failure -v + + - name: Upload Playwright traces + uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: playwright-traces + path: test-results/ - name: Show Docker logs if: ${{ always() }}