playwright-zephyr
Version:
Zephyr reporter for the Playwright
26 lines (25 loc) • 751 B
TypeScript
import type { AxiosRequestConfig } from 'axios';
export interface ZephyrOptions extends AxiosRequestConfig {
authorizationToken: string;
projectKey: string;
testCycle?: ZephyrTestCycle;
nodeInternalTlsRejectUnauthorized?: '0' | '1';
}
export type ZephyrStatus = 'Passed' | 'Failed' | 'Blocked' | 'Not Executed' | 'In Progress';
export type ZephyrTestResult = {
result: ZephyrStatus;
testCase: {
key: string;
comment: string | undefined;
};
};
export type ZephyrTestCycle = {
name?: string;
description?: string;
jiraProjectVersion?: number;
folderId?: number;
customFields?: {
[key: string]: string;
};
};
export declare function convertStatus(status: string): ZephyrStatus;