This PR omits the unnecessary system-err field in test cases with passed status.
I don't think there is an easy enough way to do it without the for loop.
Tested by looking at the generated report file and seeing that test cases with passed status have no system-err field while some test cases with skipped field do have it.
Answer to https://github.com/redhat-appstudio/qe-tools/pull/43#issuecomment-1904124688
This PR omits the unnecessary
system-err
field in test cases withpassed
status. I don't think there is an easy enough way to do it without the for loop. Tested by looking at the generated report file and seeing that test cases withpassed
status have nosystem-err
field while some test cases withskipped
field do have it.