Skip to content

Link to test reports from MR Widget

Juan J. Ramirez requested to merge 201840-link-testwidget into master

What does this MR do?

This MR adds a button to the MR test report widget that allows the user to go the Test Report tab if enabled.

Change Summary:

  • Updated the Test Report component to render the button
  • Added the GLFeatures mixin to check if the junitPipelineView feature is enabled
  • Changed the merge request controller, so it can record the junitPipelineView key and make it available to the Vue so it can be used for conditional rendering

Tests:

  • Wrote a test that checks if the button renders/not renders when junitPipelineView is enabled/disabled
  • Created new helper util to mount the component with the provide parameter.

Screenshots

image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Resolves #201840 (closed)

Edited by Juan J. Ramirez

Merge request reports