mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 08:20:12 +01:00
Refactor Selenium test execution by removing redundant pytest command and ensuring allure results directory is created before running tests
This commit is contained in:
parent
c76faee578
commit
08af220bfb
1 changed files with 1 additions and 1 deletions
2
.github/workflows/e2e-testing.yml
vendored
2
.github/workflows/e2e-testing.yml
vendored
|
|
@ -286,7 +286,6 @@ jobs:
|
||||||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
pytest tests/
|
|
||||||
if [ -d "allure-results" ]; then rm -rf allure-results; fi
|
if [ -d "allure-results" ]; then rm -rf allure-results; fi
|
||||||
mkdir -p allure-results
|
mkdir -p allure-results
|
||||||
|
|
||||||
|
|
@ -301,6 +300,7 @@ jobs:
|
||||||
Browser=${{ matrix.browser }}
|
Browser=${{ matrix.browser }}
|
||||||
Resolution=${{ matrix.resolution.name }}
|
Resolution=${{ matrix.resolution.name }}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
pytest --alluredir=allure-results tests/
|
pytest --alluredir=allure-results tests/
|
||||||
|
|
||||||
allure-report:
|
allure-report:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue