Skip to content

Commit 74ee07f

Browse files
Merge branch 'psl-test-integrate' of https://github.com/microsoft/Modernize-your-code-solution-accelerator into psl-test-integrate
2 parents 3445794 + f31ef69 commit 74ee07f

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
id: test1
9595
run: |
9696
if [ "${{ env.test_suite }}" == "GoldenPath-Testing" ]; then
97-
xvfb-run pytest -m gp--html=report/report.html --self-contained-html
97+
xvfb-run pytest -m gp --html=report/report.html --self-contained-html
9898
else
9999
xvfb-run pytest --html=report/report.html --self-contained-html
100100
fi
@@ -111,7 +111,7 @@ jobs:
111111
if: ${{ steps.test1.outcome == 'failure' }}
112112
run: |
113113
if [ "${{ env.test_suite }}" == "GoldenPath-Testing" ]; then
114-
xvfb-run pytest -m gp--html=report/report.html --self-contained-html
114+
xvfb-run pytest -m gp --html=report/report.html --self-contained-html
115115
else
116116
xvfb-run pytest --html=report/report.html --self-contained-html
117117
fi
@@ -140,7 +140,9 @@ 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/screenshots/*
144146
145147
- name: Generate E2E Test Summary
146148
if: always()
@@ -191,4 +193,4 @@ jobs:
191193
echo "### ❌ Test Results" >> $GITHUB_STEP_SUMMARY
192194
echo "- All test attempts failed" >> $GITHUB_STEP_SUMMARY
193195
echo "- Check the e2e-test/test job for detailed error information" >> $GITHUB_STEP_SUMMARY
194-
fi
196+
fi

0 commit comments

Comments
 (0)