Skip to main content

removeCaseFromSuite

codebolt.autoTesting.removeCaseFromSuite(params: IRemoveCaseFromSuiteParams): Promise<IRemoveCaseFromSuiteResponse>

Removes a test case from a test suite.

Parameters

Returns

  • Promise<[IRemoveCaseFromSuiteResponse](/docs/reference/type-reference/codeboltjs/interfaces/IRemoveCaseFromSuiteResponse)>: A promise that resolves to the updated suite.

Examples

await codebolt.autoTesting.removeCaseFromSuite({
suiteId: 'suite-123',
caseId: 'case-456'
});

Notes

  • Doesn't delete the case itself
  • Only removes suite association
  • Idempotent operation