Skip to content

JUnit report is not showing my tests

Summary

After enabling the JUnit reporting for pipelines feature, and pointing the artifacts.reports.junit at the xml being generated, I still fail to see test summary either on the merge requests or in the pipelines pages. In pipelines, we see the new tests tab but it simply says "There are no tests to show." We can see that the artifact uploaded properly.

Steps to reproduce

Run a merge request pipeline with it configured to output a junit test report and be sure that you set artifacts.reports.junit to the path of the generated file.

What is the current bug behavior?

Tests tab in pipelines simply shows "There are no tests to show."

What is the expected correct behavior?

A test summary shows

Relevant logs and/or screenshots

Here is a sample of the generated tests file that is uploaded. Screen_Shot_2020-06-18_at_2.29.17_PM

Output of checks

This bug happens on a hosted instance of Gitlab

Edited by 🤖 GitLab Bot 🤖