Skip to content

Commit 6a20bde

Browse files
fix: Remove --headed option from pytest commands and update screenshot paths
1 parent 022ff8b commit 6a20bde

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/test-automation-v2.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ jobs:
9494
id: test1
9595
run: |
9696
if [ "${{ env.test_suite }}" == "GoldenPath-Testing" ]; then
97-
xvfb-run pytest -m gp --headed --html=report/report.html --self-contained-html
97+
xvfb-run pytest -m gp --html=report/report.html --self-contained-html
9898
else
99-
xvfb-run pytest --headed --html=report/report.html --self-contained-html
99+
xvfb-run pytest --html=report/report.html --self-contained-html
100100
fi
101101
working-directory: tests/e2e-test
102102
continue-on-error: true
@@ -111,9 +111,9 @@ jobs:
111111
if: ${{ steps.test1.outcome == 'failure' }}
112112
run: |
113113
if [ "${{ env.test_suite }}" == "GoldenPath-Testing" ]; then
114-
xvfb-run pytest -m gp --headed --html=report/report.html --self-contained-html
114+
xvfb-run pytest -m gp --html=report/report.html --self-contained-html
115115
else
116-
xvfb-run pytest --headed --html=report/report.html --self-contained-html
116+
xvfb-run pytest --html=report/report.html --self-contained-html
117117
fi
118118
working-directory: tests/e2e-test
119119
continue-on-error: true
@@ -128,9 +128,9 @@ jobs:
128128
if: ${{ steps.test2.outcome == 'failure' }}
129129
run: |
130130
if [ "${{ env.test_suite }}" == "GoldenPath-Testing" ]; then
131-
xvfb-run pytest -m gp --headed --html=report/report.html --self-contained-html
131+
xvfb-run pytest -m gp --html=report/report.html --self-contained-html
132132
else
133-
xvfb-run pytest --headed --html=report/report.html --self-contained-html
133+
xvfb-run pytest --html=report/report.html --self-contained-html
134134
fi
135135
working-directory: tests/e2e-test
136136

@@ -140,7 +140,10 @@ jobs:
140140
if: ${{ !cancelled() }}
141141
with:
142142
name: test-report
143-
path: tests/e2e-test/report/*
143+
path: |
144+
tests/e2e-test/report/*
145+
tests/e2e-test/tests/screenshots/*
146+
tests/e2e-test/logs/*
144147
145148
- name: Generate E2E Test Summary
146149
if: always()

0 commit comments

Comments
 (0)