Add screenshot upload step to Selenium UI tests workflow

This commit is contained in:
omri zaher 2025-09-27 14:28:38 +03:00
parent 1d31e5d32d
commit 73c5682884

View file

@ -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