Test "more details" popup should include system-out and system-err if available
Summary
When users click on a "more details" button for a failing/passing test a popup is displayed to show the result of that test. For JUnit, and possibly other types of test, only the text inside the failure
tag is displayed. Other output such as system-out
and system-err
are not included, and both may contain useful information that the test system does stores separate from the failure
tag.
Steps to reproduce
-
as part of a script: pytest -o junit_logging=all --junitxml=some_filename.xml ....
-
should generate an xml file with something like
...<testcase ...>
<failure> This text will be displayed. </failure>
<system-out> This text will be ignored. </system-out>
<system-err> This text will also be ignored. </system-err>
</testcase>...
- When viewing the test, the "more details" button will display a pop that will only contain "This text will be displayed."
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com