Refactor Selenium test execution by removing redundant pytest command and ensuring allure results directory is created before running tests

This commit is contained in:
omri zaher 2025-09-24 11:51:07 +03:00
parent c76faee578
commit 08af220bfb

View file

@ -286,7 +286,6 @@ jobs:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
run: |
pytest tests/
if [ -d "allure-results" ]; then rm -rf allure-results; fi
mkdir -p allure-results
@ -301,6 +300,7 @@ jobs:
Browser=${{ matrix.browser }}
Resolution=${{ matrix.resolution.name }}
EOF
pytest --alluredir=allure-results tests/
allure-report: