project-chip / certification-tool

A test harness and tooling designed to simplify development, testing, and certification for devices, guided by the Connectivity Standards Alliance.
https://csa-iot.org/
Apache License 2.0
42 stars 24 forks source link

[Feature] Frontend to present backend raised exception #469

Open rquidute opened 1 month ago

rquidute commented 1 month ago

Feature description

Backend is now checking if PICS are informed pior to a new test run execution: https://github.com/project-chip/certification-tool/issues/446

Frontend should present in the UI, the message returned in POST test_run_executions/{id}/start when an exception is raised. The backend returns error code 422 and message: No PICS were informed, when the user tries to start a new execution without informing PICS.

Currently the following message is being displayed: Screenshot 2024-10-22 at 10 32 19

Use Cases

Crete a new project and do NOT inform PICS Create a new test run and try to start a new execution Front should display the message returned by backend.

Test Cases

No response

Additional Information

No response