Skip to content

Fix junit test tab if no test reports

What does this MR do?

Solves #205912 (closed)

Fixes a regression bug identified when we shipped !24884 (merged)

This MR make sure we don't display undefined in our test tab badge counter if no test reports are attached to a Pipeline.

Screenshots

Before

Pipeline___H5bp___Html5_Boilerplate___GitLab_2020-02-14_15-48-36

After

Pipeline___H5bp___Html5_Boilerplate___GitLab_2020-02-14_15-47-26

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
Edited by Max Orefice

Merge request reports