Gitlab CI not comparing test results with base branch

According to the docs at Unit test reports | GitLab the test results UI should compare the test results of the current branch against the base branch and categorize them into:

  1. Newly failed tests
  2. Newly encountered errors
  3. Existing failures
  4. Resolved failures

However, I’m not seeing this categorization on the SaaS (free plan).

Is there any setup step that I’m missing?

@saurabhnanda - Thanks for posting!

To do this comparison a junit.xml report needs to be uploaded and available on the target and source branches both. There may be a missing report in your case.

I hope this helps.

  • James H, GitLab Product Manager, Verify:Testing