Fix update testrail update tool to process the Failed TearDown cases correctly
Related-prod: PRODX-25586
Change-Id: I05625870e0d31aa0dcbcc3e6877940b22f66d94a
diff --git a/update_testrail_xml/reporter.py b/update_testrail_xml/reporter.py
index beabebb..c4ed689 100644
--- a/update_testrail_xml/reporter.py
+++ b/update_testrail_xml/reporter.py
@@ -126,7 +126,7 @@
if empty_classname['classname'] in case['title']:
updated_case = {'classname': empty_classname['classname'],
- 'name': case['custom_test_case_description'],
+ 'name': case['title'],
'data': empty_classname['data']}
needed_cases.append(updated_case)
logger.info(' Got test cases for updating xml file')