We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0eb5b0 commit e42194eCopy full SHA for e42194e
test/appium/support/testrail_report.py
@@ -26,6 +26,7 @@ def __init__(self):
26
27
self.outcomes = {
28
'passed': 1,
29
+ 'failed': 5,
30
'undefined_fail': 10,
31
'skipped': 11}
32
@@ -170,7 +171,10 @@ def add_results(self):
170
171
if last_testrun.xfail and not last_testrun.run:
172
status_id = self.outcomes['skipped']
173
elif last_testrun.error:
- status_id = self.outcomes['undefined_fail']
174
+ if last_testrun.xfail:
175
+ status_id = self.outcomes['failed']
176
+ else:
177
+ status_id = self.outcomes['undefined_fail']
178
else:
179
status_id = self.outcomes['passed']
180
data.append(
0 commit comments