playwright-performance-regression 0.0.0 → 0.1.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,18 @@
1
+ import { Reporter, FullConfig, Suite, TestCase, TestResult, FullResult } from '@playwright/test/reporter';
2
+
3
+ declare class PerfReporter implements Reporter {
4
+ /** Reporter options from the Playwright config; none are defined yet. */
5
+ readonly options: Record<string, unknown>;
6
+ private readonly session;
7
+ private readonly startError;
8
+ constructor(options?: Record<string, unknown>);
9
+ onBegin(config: FullConfig, suite: Suite): void;
10
+ onTestBegin(): void;
11
+ onTestEnd(test: TestCase, result: TestResult): void;
12
+ onEnd(result: FullResult): Promise<{
13
+ status?: FullResult['status'];
14
+ } | undefined>;
15
+ printsToStdio(): boolean;
16
+ }
17
+
18
+ export { PerfReporter, PerfReporter as default };
@@ -0,0 +1,18 @@
1
+ import { Reporter, FullConfig, Suite, TestCase, TestResult, FullResult } from '@playwright/test/reporter';
2
+
3
+ declare class PerfReporter implements Reporter {
4
+ /** Reporter options from the Playwright config; none are defined yet. */
5
+ readonly options: Record<string, unknown>;
6
+ private readonly session;
7
+ private readonly startError;
8
+ constructor(options?: Record<string, unknown>);
9
+ onBegin(config: FullConfig, suite: Suite): void;
10
+ onTestBegin(): void;
11
+ onTestEnd(test: TestCase, result: TestResult): void;
12
+ onEnd(result: FullResult): Promise<{
13
+ status?: FullResult['status'];
14
+ } | undefined>;
15
+ printsToStdio(): boolean;
16
+ }
17
+
18
+ export { PerfReporter, PerfReporter as default };