mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 10:42:53 +00:00
Test steps for groups
This commit is contained in:
parent
2ff57ec8cd
commit
872a732c31
@ -217,8 +217,6 @@ def pytest_runtest_makereport(item, call):
|
|||||||
outcome = yield
|
outcome = yield
|
||||||
report = outcome.get_result()
|
report = outcome.get_result()
|
||||||
if "xdist_group" in item.keywords._markers and report.when == "setup" and report.failed:
|
if "xdist_group" in item.keywords._markers and report.when == "setup" and report.failed:
|
||||||
test_suite_data.set_current_test(item.name, testrail_case_id=get_testrail_case_id(item))
|
|
||||||
test_suite_data.current_test.create_new_testrun()
|
|
||||||
test_suite_data.current_test.group_name = item.instance.__class__.__name__
|
test_suite_data.current_test.group_name = item.instance.__class__.__name__
|
||||||
error = report.longreprtext
|
error = report.longreprtext
|
||||||
exception = re.findall('E.*Message:|E.*Error:|E.*Failed:', error)
|
exception = re.findall('E.*Message:|E.*Error:|E.*Failed:', error)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user