Problem to solve
I have a simple CI jobs that uploads junit report. I see the test results in the pipeline. I see that GitLab even adds a link to the file that is in the test case.
The problem, is that the line number is not taken into account.
For example (subset of my report):
<testcase name="testCase2-line-attrib" classname="Tests.Registration" assertions="6"
time="1.534" file="robot/test1.robot" line="101" />
GitLab will add a link to robot/test1.robot including the proper sha of the commit, but completely ignores the line 101.
It would be very easy to add #L101 to the URL of the link to jump directly to the right place.
Versions
Please select whether options apply, and add the version information.
- Self-managed
-
GitLab.com
SaaS - Dedicated
- Self-hosted Runners
Versions
GitLab CE v17.5.2.