MR Widget Subheader feels duplicative when there is only one Test Suite

Summary

When there is only one test suite to display in the merge request widget, the subheader is almost exactly the same as the widget title, so not offering any really added value.

Steps to reproduce

Check out the test results diff here Siphonophora/dot-net-cicd-test-logging-demo!3

Example Project

Siphonophora/dot-net-cicd-test-logging-demo!3

Relevant logs and/or screenshots

Collapsed

Screen_Shot_2019-12-11_at_14.45.01

Expanded

Screen_Shot_2019-12-11_at_14.45.12

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

GitLab Enterprise Edition 12.6.0-pre c3e49b4d

Possible fixes

Very simply, we could hide the subheader if there isn't more than one test suite to display data from. Alternatively, we could consider the entire subheader structure and come up with something that takes less space to reproduce largely the same copy. As the size of the MR page grows in both size and concern, this might be a good time to cut down on vertical space if we can. How much we want to do here is likely up to UX

Edited Feb 19, 2020 by drew stachon
Assignee Loading
Time tracking Loading