Increase Junit Reporting Accuracy

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Briefly describe the bug

When viewing a pipeline, the "Summary" view under "Tests" may show a 100% success rate even if there is 1 failure.

Details

This was discovered in a ticket where a customer had 30329 tests, but only 30328 have passed, meaning that there was 1 failure. Technically, this is a success rate of .999967 but the interface shows that this is a 100% success rate. It seems like the logic is rounding up to 100%. We could consider increasing the accuracy of this reporting.

Screenshot

Junit_Report

Relevant Ticket (Internal)

https://gitlab.zendesk.com/agent/tickets/150592

Edited by 🤖 GitLab Bot 🤖