Add screenshots to failure issues
What does this MR do and why?
Adds screenshots to automated failure issues to make triaging QA failures more streamlined.
See: https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/726
We are already updating the screenshot path in the xml report from the path inside the docker container to the actual artifact path so we extend that here to also include the json report. Then for adding the screenshots to the failure issue description, we must upload the file to the project first, then link the relative url with markdown.
Screenshots or screen recordings
Example from testing this in GDK:
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Désirée Chevalier