Skip to main content

updateSuite

client.autoTesting.updateSuite(id: string, data: UpdateTestSuiteRequest): Promise<TestSuite>

Updates a test suite.

Modifies the name, description, or other properties of an existing test suite.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the test suite to update
dataUpdateTestSuiteRequestYesThe fields to update on the suite

Returns

Promise<TestSuite> — A promise that resolves to the updated TestSuite

Example

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

const client = new CodeBoltClient();

const result = await client.autoTesting.updateSuite('id', /* UpdateTestSuiteRequest */);
console.log(result);