Quarantine a test
POST/apps/:app-slug/quarantined-tests
Quarantine a test case of an app. The test is identified by test_case_identifier when the test report provides one, otherwise by its name, suite names and class name. Requires permission to run builds and a plan that includes test quarantine.
RequestClick to copy link
ResponsesClick to copy link
- 201
- 401
- 403
- 404
- 409
- 422
Created
Unauthorized - no valid personal access token or workspace API token
Forbidden - user cannot run builds on the app, or the plan of the workspace does not include test quarantine
Not found - app does not exist, or user is not authorized
Conflict - the test is already quarantined; the response contains it in quarantined_test
Unprocessable entity - a parameter is missing or invalid, or build_slug is not a build of the app