canonical / test_observer

Flutter based dashboard for visualising SRU regression test results
2 stars 2 forks source link

Show text message when test results are not available #137

Closed andrejvelichkovski closed 4 months ago

andrejvelichkovski commented 4 months ago

This PR resolves RTW-247. It adds a condition on whether the test execution is completed (failed or passed) in which case it shows the test filters (Passed / Skipped / Failed) otherwise it shows a text that 'This test execution is not completed. No test results are available yet.'.

Only modifications on the frontend are performed.

Screenshot of the modified artefact page

Screenshot from 2024-03-06 09-33-43

andrejvelichkovski commented 4 months ago

I agree that showing a drop down without any more details doesn't make sense, I have made a small update that hopefully should improve the UX.

I have changed the design to fit more with the style of what we already have for completed Test Executions. Namely, now it is a sort-of disable expansion tile (standard ListTile), which has the same consistency with the standard ExpansionTiles (for completed environments).

Screenshot from 2024-03-06 12-06-51 Screenshot from 2024-03-06 12-07-05