We should propagate multiple JUnit parsing errors to the UI instead of just one per suite
Overview
As discussed here: #263457 (comment 522337929) we currently only will show one parsing error per suite in the UI. For example, if there's rspec 1/2
and rspec 2/2
, but they have 2 different suite errors. How are we going to handle and display this? Currently, rspec 1/2
and rspec 2/2
will be displayed as rspec
under one row with combined summary We should show all available errors per suite in the UI.
As Sasha, when I am looking at the Test report page, and test report MR widget and there are parsing errors with my JUnit report, I want to see all available errors so I can get a full picture of the problems with the report I passed to GitLab.
Proposal
-
1️⃣ The backend could choose any error and return it as a string, the frontend would display whatever string it gets🤷🏻 we could append something like... and 3 more errors
to the message to make it more clear -
2️⃣ We could switch to an array and display all of them somehow - in the MR widget we could list them in the body of the widget, in the test summary we could... think of something🤔 -
3️⃣ Do1️⃣ for now and iterate toward2️⃣