@@ -131,22 +131,13 @@ jobs:
131131 xvfb-run pytest tests/test_telecom_gp_tc.py --headed --html=report/report.html --self-contained-html
132132 elif [ "${{ env.test_suite }}" == "Smoke-Testing" ]; then
133133 xvfb-run pytest tests/test_telecom_gp_tc.py tests/test_telecom_smoke_tc.py --headed --html=report/report.html --self-contained-html
134- else
135- echo "ERROR: Unknown test suite '${{ env.test_suite }}'"
136- exit 1
137134 fi
138135 elif [ "${{ env.azure_env_use_case }}" == "IT_helpdesk" ]; then
139136 if [ "${{ env.test_suite }}" == "GoldenPath-Testing" ]; then
140137 xvfb-run pytest tests/test_ithelpdesk_gp_tc.py --headed --html=report/report.html --self-contained-html
141138 elif [ "${{ env.test_suite }}" == "Smoke-Testing" ]; then
142139 xvfb-run pytest tests/test_ithelpdesk_gp_tc.py tests/test_ithelpdesk_smoke_tc.py --headed --html=report/report.html --self-contained-html
143- else
144- echo "ERROR: Unknown test suite '${{ env.test_suite }}'"
145- exit 1
146140 fi
147- else
148- echo "ERROR: Unknown use case '${{ env.azure_env_use_case }}'. Expected 'telecom' or 'IT_helpdesk'"
149- exit 1
150141 fi
151142 working-directory : tests/e2e-test
152143 continue-on-error : true
@@ -165,22 +156,13 @@ jobs:
165156 xvfb-run pytest tests/test_telecom_gp_tc.py --headed --html=report/report.html --self-contained-html
166157 elif [ "${{ env.test_suite }}" == "Smoke-Testing" ]; then
167158 xvfb-run pytest tests/test_telecom_gp_tc.py tests/test_telecom_smoke_tc.py --headed --html=report/report.html --self-contained-html
168- else
169- echo "ERROR: Unknown test suite '${{ env.test_suite }}'"
170- exit 1
171159 fi
172160 elif [ "${{ env.azure_env_use_case }}" == "IT_helpdesk" ]; then
173161 if [ "${{ env.test_suite }}" == "GoldenPath-Testing" ]; then
174162 xvfb-run pytest tests/test_ithelpdesk_gp_tc.py --headed --html=report/report.html --self-contained-html
175163 elif [ "${{ env.test_suite }}" == "Smoke-Testing" ]; then
176164 xvfb-run pytest tests/test_ithelpdesk_gp_tc.py tests/test_ithelpdesk_smoke_tc.py --headed --html=report/report.html --self-contained-html
177- else
178- echo "ERROR: Unknown test suite '${{ env.test_suite }}'"
179- exit 1
180165 fi
181- else
182- echo "ERROR: Unknown use case '${{ env.azure_env_use_case }}'. Expected 'telecom' or 'IT_helpdesk'"
183- exit 1
184166 fi
185167 working-directory : tests/e2e-test
186168 continue-on-error : true
@@ -199,22 +181,13 @@ jobs:
199181 xvfb-run pytest tests/test_telecom_gp_tc.py --headed --html=report/report.html --self-contained-html
200182 elif [ "${{ env.test_suite }}" == "Smoke-Testing" ]; then
201183 xvfb-run pytest tests/test_telecom_gp_tc.py tests/test_telecom_smoke_tc.py --headed --html=report/report.html --self-contained-html
202- else
203- echo "ERROR: Unknown test suite '${{ env.test_suite }}'"
204- exit 1
205184 fi
206185 elif [ "${{ env.azure_env_use_case }}" == "IT_helpdesk" ]; then
207186 if [ "${{ env.test_suite }}" == "GoldenPath-Testing" ]; then
208187 xvfb-run pytest tests/test_ithelpdesk_gp_tc.py --headed --html=report/report.html --self-contained-html
209188 elif [ "${{ env.test_suite }}" == "Smoke-Testing" ]; then
210189 xvfb-run pytest tests/test_ithelpdesk_gp_tc.py tests/test_ithelpdesk_smoke_tc.py --headed --html=report/report.html --self-contained-html
211- else
212- echo "ERROR: Unknown test suite '${{ env.test_suite }}'"
213- exit 1
214190 fi
215- else
216- echo "ERROR: Unknown use case '${{ env.azure_env_use_case }}'. Expected 'telecom' or 'IT_helpdesk'"
217- exit 1
218191 fi
219192 working-directory : tests/e2e-test
220193
0 commit comments