File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -395,7 +395,7 @@ jobs:
395395
396396
397397 cleanup-deployment :
398- if : always()
398+ if : " !cancelled() "
399399 needs : [deploy, e2e-test]
400400 runs-on : ubuntu-latest
401401 env :
Original file line number Diff line number Diff line change 4848 - name : Run tests(1)
4949 id : test1
5050 run : |
51- xvfb-run pytest --headed --html=report/report.html --self-contained-html
51+ xvfb-run pytest -m smoke --html=report/report.html --self-contained-html
5252 working-directory : tests/e2e-test
5353 continue-on-error : true
5454
6161 id : test2
6262 if : ${{ steps.test1.outcome == 'failure' }}
6363 run : |
64- xvfb-run pytest --headed --html=report/report.html --self-contained-html
64+ xvfb-run pytest -m smoke --html=report/report.html --self-contained-html
6565 working-directory : tests/e2e-test
6666 continue-on-error : true
6767
7474 id : test3
7575 if : ${{ steps.test2.outcome == 'failure' }}
7676 run : |
77- xvfb-run pytest --headed --html=report/report.html --self-contained-html
77+ xvfb-run pytest -m smoke --html=report/report.html --self-contained-html
7878 working-directory : tests/e2e-test
7979
8080 - name : Upload test report
8383 if : ${{ !cancelled() }}
8484 with :
8585 name : test-report
86- path : tests/e2e-test/report/*
86+ path : |
87+ tests/e2e-test/report/*
88+ tests/e2e-test/screenshots/*
8789
8890 - name : Send Notification
8991 if : always()
Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ log_cli_level = INFO
44log_file = logs/tests.log
55log_file_level = INFO
66addopts = -p no:warnings
7+ markers =
8+ smoke: marks tests as smoke tests (deselect with ' -m "not smoke"' )
You can’t perform that action at this time.
0 commit comments