Skip to content

Commit 54f6668

Browse files
committed
disabling the failure marks if the screenshot fails
1 parent 220013b commit 54f6668

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ci/ci.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,12 @@ def take_screenshot(endpoint,container_tag):
152152
report_tests.append(['Screenshot ' + container_tag,'PASS'])
153153
except (requests.Timeout, requests.ConnectionError, KeyError) as e:
154154
report_tests.append(['Screenshot ' + container_tag,'FAIL CONNECTION ERROR'])
155-
mark_fail()
156155
except ErrorInResponseException as error:
157156
report_tests.append(['Screenshot ' + container_tag,'FAIL SERVER ERROR'])
158-
mark_fail()
159157
except TimeoutException as error:
160158
report_tests.append(['Screenshot ' + container_tag,'FAIL TIMEOUT'])
161-
mark_fail()
162159
except WebDriverException as error:
163160
report_tests.append(['Screenshot ' + container_tag,'FAIL UNKNOWN'])
164-
mark_fail()
165161

166162
# Main container test logic
167163
def container_test(tag):

0 commit comments

Comments
 (0)