Skip to main content

updateCase

client.autoTesting.updateCase(id: string, data: UpdateTestCaseRequest): Promise<TestCase>

Updates a test case.

Modifies the steps, name, or other properties of an existing test case.

Parameters​

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the test case to update
dataUpdateTestCaseRequestYesThe fields to update on the test case

Returns​

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

Example​

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

const client = new CodeBoltClient();

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