diff --git a/.github/workflows/ui-testing.yml b/.github/workflows/ui-testing.yml index 0985c06b0..c2e8412da 100644 --- a/.github/workflows/ui-testing.yml +++ b/.github/workflows/ui-testing.yml @@ -39,3 +39,11 @@ jobs: WEKAN_URL: ${{ secrets.WEKAN_URL }} run: | pytest tests/ -s -v + + - name: Upload screenshots + if: always() # Ensure this runs even if tests fail + uses: actions/upload-artifact@v3 + with: + name: ui-test-screenshots + path: artifacts/screenshots + retention-days: 2 # Store artifacts for 30 days