From 42347f3e918630daf8922e46b385079d01fa7be2 Mon Sep 17 00:00:00 2001 From: omri zaher Date: Sun, 10 Aug 2025 14:04:55 +0300 Subject: [PATCH 1/3] Reorder pytest command options for consistency in Selenium tests --- .github/workflows/ui-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ui-testing.yml b/.github/workflows/ui-testing.yml index cd8797fb2..75eb5c263 100644 --- a/.github/workflows/ui-testing.yml +++ b/.github/workflows/ui-testing.yml @@ -38,4 +38,4 @@ jobs: HEADLESS: true WEKAN_URL: http://${{ secrets.WEKAN_URL }}:80 run: | - pytest tests/ -v -s + pytest tests/ -s -v From 3eb7526fa404ae7a34efdea2415e92edded132dc Mon Sep 17 00:00:00 2001 From: omri zaher Date: Mon, 11 Aug 2025 14:10:02 +0300 Subject: [PATCH 2/3] 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 From eda1356bd43a3fd79c1c2845629a15a6635d7111 Mon Sep 17 00:00:00 2001 From: omri zaher Date: Mon, 11 Aug 2025 14:11:57 +0300 Subject: [PATCH 3/3] Update upload-artifact action to version 4 in UI testing workflow --- .github/workflows/ui-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ui-testing.yml b/.github/workflows/ui-testing.yml index c2e8412da..2ec509dea 100644 --- a/.github/workflows/ui-testing.yml +++ b/.github/workflows/ui-testing.yml @@ -42,7 +42,7 @@ jobs: - name: Upload screenshots if: always() # Ensure this runs even if tests fail - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ui-test-screenshots path: artifacts/screenshots