File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 11stages :
2- - test
2+ - setup_tests
3+ - run_tests
34 - pages
45 - automated-api-tests
56
6- test :
7+ setup_tests :
78 stage : test
89 image : mcr.microsoft.com/playwright/python:v1.38.0-jammy
910 script :
1011 - pip install -r requirements.txt
1112 - cp .env.example .env
1213 - python test_dotenv.py
1314 - PLAYWRIGHT_BROWSERS_PATH=/ms-playwright python -m playwright install --with-deps chromium
14- - pytest --junitxml=reports/xml/report.xml --template=html1/index.html --report=reports/html/index.html -m ui -v
1515 artifacts :
1616 paths :
1717 - reports
18+
19+ ui :
20+ stage : run_tests
21+ script :
22+ - pytest --junitxml=reports/xml/report.xml --template=html1/index.html --report=reports/html/index.html -m ui -v
23+
24+ api :
25+ stage : run_tests
26+ script :
27+ - pytest --junitxml=reports/xml/report.xml --template=html1/index.html --report=reports/html/index.html -m api -v
28+
29+
1830# pages:
1931# stage: pages
2032# script:
You can’t perform that action at this time.
0 commit comments