@playwright-mocks/reporters
Version:
Single Playwright reporter for mock interceptor with configurable logging and HTML report generation utility
33 lines • 707 B
TypeScript
export interface TestInfo {
id: string;
title: string;
file: string;
status: string;
duration: number;
attachments?: any[];
}
export interface RequestResponseData {
method: string;
url: string;
status: number;
requestBody?: any;
responseBody?: any;
error?: string | {
message: string;
};
duration?: number;
}
export interface ReporterOptions {
logs?: boolean;
verbose?: boolean;
generateHtml?: boolean;
htmlOutputDir?: string;
htmlTitle?: string;
runOutputDir?: string;
saveAttachments?: boolean;
}
export interface HtmlReportOptions {
outputDir: string;
title: string;
}
//# sourceMappingURL=types.d.ts.map