Objective
Implement a feature in the existing API service to fetch the overview of a specific test case from the TestOps API and extract the "deleted" status from the response. Ensure that test cases marked as deleted do not display on the frontend.
Requirements
- Create a new method to fetch test case overview data.
- The new method should send a GET request to the following URL:
https://soramitsu.testops.cloud/api/testcase/{id}/overview
- Replace
{id} with the actual test case ID provided to the method like this https://soramitsu.testops.cloud/api/testcase/27/overview
- Parse the response to extract the value of the
deleted field.
- Return this value as a boolean indicating whether the test case is deleted.
- Ensure that test cases marked as deleted are not displayed on the frontend.
Objective
Implement a feature in the existing API service to fetch the overview of a specific test case from the TestOps API and extract the "deleted" status from the response. Ensure that test cases marked as deleted do not display on the frontend.
Requirements
https://soramitsu.testops.cloud/api/testcase/{id}/overview{id}with the actual test case ID provided to the method like this https://soramitsu.testops.cloud/api/testcase/27/overviewdeletedfield.