Skip to main content

removeCaseFromSuite

client.autoTesting.removeCaseFromSuite(suiteId: string, caseId: string): Promise<unknown>

Removes a test case from a test suite.

Disassociates a test case from the specified suite without deleting the test case itself.

Parameters​

ParameterTypeRequiredDescription
suiteIdstringYesThe unique identifier of the test suite
caseIdstringYesThe unique identifier of the test case to remove

Returns​

Promise<unknown> — A promise that resolves when the case has been removed from the suite

Example​

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.autoTesting.removeCaseFromSuite('suiteId', 'caseId');
console.log(result);