certification-tool icon indicating copy to clipboard operation
certification-tool copied to clipboard

[Bug] [Frontend] TH Test run UI TC mismatch

Open rquidute opened this issue 8 months ago • 3 comments

Describe the bug

The test run UI in the left panel shows a Test Case that is not the same that is running according to log panel in the right Screenshot 2024-06-20 at 11 03 32

Important: TH UI shows the tests in the left panel according to the order presented at test selection screen, but backend returns a specific test list order in the following endpoint responses: POST /api/v1/test_run_executions/ and POST /api/v1/test_run_executions/{id}/start.

In addition, the endpoint /{id}/applicable_test_cases, is also returning the test cases in a different order than the displayed in Test selection screen.

Steps to reproduce the behavior

  • Select project
  • Click + Add Test
  • Click Start

Expected behavior

Test Run UI in the left panel must reflect the log panel in the right, so it should consider the backend response for POST /api/v1/test_run_executions/{id}/start and also POST /api/v1/test_run_executions/{id}/repeat

Log files

No response

PICS file

No response

Screenshots

No response

Environment

No response

Additional Information

No response

rquidute avatar Jun 20 '24 14:06 rquidute