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
|
||||
report = outcome.get_result()
|
||||
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__
|
||||
error = report.longreprtext
|
||||
exception = re.findall('E.*Message:|E.*Error:|E.*Failed:', error)
|
||||
|
|
Loading…
Reference in New Issue