Link to file from test summary for failed tests
Problem to solve
When a user is reviewing an MR they see a helpful view of tests that ran in the MRs pipeline that have a different result from the target branch. In that view you also get a helpful view of the trace of the error BUT not so helpful is no way to go view the code of the failure.
As a user reviewing test summary in an MR, I want to be able to navigate to a file and line of a test that failed, so that I can quickly fix broken tests to get a green pipeline.
Intended users
- Sasha (Software Developer) - who is reviewing their MR or the MR of another developer and wants to see the test code.
- Simone (Software Engineer in Test) - who is looking at updating a failed test when reviewing the MR.
-->
User experience goal
The user should be able to go from a test failure notice in the Test Summary widget to the file that contains that test in the Repository -> Files view with a single click to review the failing test code.
Proposal
Add to the interface the file name and a way to navigate to the file of the failed test.
Further details
This came up original in discussion of the GitLab quality team using the filename of a failed test in issues.
Today the following is displayed on the Test Summary