Test steps for groups

This commit is contained in:
yevh-berdnyk 2022-05-24 05:57:24 +03:00
parent 2ff57ec8cd
commit 872a732c31
No known key found for this signature in database
GPG Key ID: 0642C73C66214825
1 changed files with 0 additions and 2 deletions

View File

@ -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)