undefined badge counter if no test reports
JUnit feature is enabled, and a pipeline does not have any
test_reports we should not render anything in our test tab badge counter
Steps to reproduce
- run a pipeline that gathers junit data on gitlab 12.7 or newser
(If possible, please create an example project here on GitLab.com that exhibits the problematic behavior, and link to it here in the bug report)
(If you are using an older version of GitLab, this will also determine whether the bug is fixed in a more recent version)
What is the current bug behavior?
What is the expected correct behavior?
(If you can, link to the line of code that might be responsible for the problem)