From 3eb7526fa404ae7a34efdea2415e92edded132dc Mon Sep 17 00:00:00 2001 From: omri zaher Date: Mon, 11 Aug 2025 14:10:02 +0300 Subject: [PATCH] Add artifact upload step for UI test screenshots --- .github/workflows/ui-testing.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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