Skip to main content

deleteCase

codebolt.autoTesting.deleteCase(params: IDeleteCaseParams): Promise<IDeleteCaseResponse>

Deletes a test case.

Parameters

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