Make file name link to file in unit test report

Problem to solve

In #119032 (closed), we added a new column to the unit test report to display the name of the spec file that generated each test case in the report along with a copy button to copy the full file path (third column in screenshot below).

Screen_Shot_2020-10-13_at_11.36.03

We would like to make the file path shown in the table into a link that goes to the file in the project on GitLab.

Intended users

Anyone involved in reviewing test reports, but especially:

Proposal

Link-ify the path to the file so that clicking on it takes you to the file in the project on GitLab.

Note: We have similar links in the code quality report, so we can take inspiration from that to implement them here: we can pass blob_path in like we do in the code quality report (haml) by adding it to the tests tab (haml) and using it as the base of the link.

Further details

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Edited by Miranda Fluharty