From 73c5682884e9ff0c81ebaa3fe4114ba3d9e67f51 Mon Sep 17 00:00:00 2001 From: omri zaher Date: Sat, 27 Sep 2025 14:28:38 +0300 Subject: [PATCH] Add screenshot upload step to Selenium UI tests workflow --- .github/workflows/e2e-testing.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/e2e-testing.yml b/.github/workflows/e2e-testing.yml index 190ede912..441bcd947 100644 --- a/.github/workflows/e2e-testing.yml +++ b/.github/workflows/e2e-testing.yml @@ -327,6 +327,14 @@ jobs: path: allure-results/ retention-days: 30 + - name: Upload screenshots + if: always() # Ensure this runs even if tests fail + uses: actions/upload-artifact@v4 + with: + name: ui-test-screenshots + path: artifacts/screenshots + retention-days: 2 # Store artifacts for 2 days + allure-report: runs-on: ubuntu-latest needs: Selenium-ui-tests