@wdio/testrail-reporter
Version:
Create or update a run on testrail and publish the test case results.
12 lines • 821 B
TypeScript
import type { TestResults, NewTest, ReporterOptions, TestCase } from './types';
export default class TestRailAPI {
#private;
constructor(options: ReporterOptions);
private waitForRateLimit;
updateTestRunResults(runId: string, results: TestCase[], retry?: boolean): Promise<import("axios").AxiosResponse<any, any> | undefined>;
updateTestRun(runId: string, caseIds: unknown[], retry?: boolean): Promise<import("axios").AxiosResponse<any, any> | undefined>;
pushResults(runId: string, testId: string, results: TestResults, retry?: boolean): Promise<import("axios").AxiosResponse<any, any> | undefined>;
createTestRun(test: NewTest, runName?: string): Promise<string>;
getLastTestRun(suiteId: string, runName: string, timeInMinutes?: number): Promise<any>;
}
//# sourceMappingURL=api.d.ts.map