Skip to content

Add screenshots to failure issues

Désirée Chevalier requested to merge add-screenshot-to-failure-issues into master

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:

Screen_Shot_2022-04-21_at_2.43.34_PM

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Désirée Chevalier

Merge request reports