playwright-performance
Version:
Playwright plugin for analyzing test flow performance
15 lines (14 loc) • 598 B
TypeScript
import { TestInfo, WorkerInfo } from "@playwright/test";
import { Options } from "./entities/options";
import { PerformanceMain } from "./performance-main";
export declare const playwrightPerformance: {
performance: ({ browserName }: any, use: (arg0: PerformanceMain) => any, testInfo: TestInfo) => Promise<void>;
worker: ({ performanceOptions }: any, use: any, workerInfo: WorkerInfo) => Promise<void>;
};
export type PlaywrightPerformance = {
performance: PerformanceMain;
};
export type PerformanceWorker = {
worker: PerformanceMain;
};
export type PerformanceOptions = Options;