deleteCase
codebolt.autoTesting.deleteCase(params: IDeleteCaseParams): Promise<IDeleteCaseResponse>
Deletes a test case.
Parameters
params(IDeleteCaseParams): Parameters including the case ID to delete.
Returns
Promise<[IDeleteCaseResponse](/docs/reference/type-reference/codeboltjs/interfaces/IDeleteCaseResponse)>: A promise that resolves when the case is deleted.
Examples
await codebolt.autoTesting.deleteCase({ id: 'case-123' });
Notes
- Removes case from all suites
- Permanent operation
- Cannot delete cases used in runs