Skip to main content

updateRun

client.autoTesting.updateRun(id: string, data: UpdateTestRunRequest): Promise<TestRun>

Updates a test run.

Modifies the status or metadata of an in-progress or completed test run.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the test run to update
dataUpdateTestRunRequestYesThe fields to update on the test run

Returns

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

Example

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

const client = new CodeBoltClient();

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