@checkly/playwright-reporter 1.7.1 → 1.8.0-pre-1b41b84

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,25 @@ All notable changes to `@checkly/playwright-reporter` will be documented in this
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
 
7
+ ## 1.8.0 (2026-03-05)
8
+
9
+ ### Breaking Changes
10
+
11
+ - **`verbose` renamed to `debug`** — The previous `verbose` option has been renamed to `debug` (disabled by default) for Checkly reporter diagnostic logging. The `verbose` option now controls worker output forwarding instead. If you were using `verbose: true` for debug logging, update to `debug: true`.
12
+
13
+ ### Added
14
+
15
+ - **Worker output forwarding** — `stdout` and `stderr` from your test workers now appear directly in your terminal, so you can see `console.log` output and error messages alongside test results as they run. Control this with the `verbose` option (enabled by default).
16
+
17
+ ### Improved
18
+
19
+ - **Faster, more reliable config annotation** — The Playwright config source view in Checkly now works consistently across all environments, including projects that don't use TypeScript.
20
+ - **Smaller report sizes** — Network requests and console messages are no longer embedded in the JSON report. They're still captured in the trace and displayed in the Checkly UI exactly as before, but reports are now significantly smaller — especially for tests with heavy network traffic.
21
+
22
+ ### Fixed
23
+
24
+ - **Compatibility with bundled environments** — Fixed an issue where the reporter could fail to load in certain CI or runner configurations due to module format mismatches.
25
+
7
26
  ## 1.7.1 (2026-03-01)
8
27
 
9
28
  ### Added
package/dist/index.d.ts CHANGED
@@ -64,41 +64,12 @@ interface JSONReportTestStep extends JSONReportTestStep$1 {
64
64
  };
65
65
  steps?: JSONReportTestStep[];
66
66
  }
67
- interface ConsoleEntryLocation {
68
- url: string;
69
- columnNumber: number;
70
- lineNumber: number;
71
- }
72
- interface ConsoleLog {
73
- id: string;
74
- type: 'log' | 'warn' | 'error' | 'info' | 'debug';
75
- text: string;
76
- timestamp: string;
77
- location: ConsoleEntryLocation;
78
- }
79
- interface NetworkRequest {
80
- id: string;
81
- url: string;
82
- domain: string;
83
- method: string;
84
- resourceType: string;
85
- statusCode: number | null;
86
- statusText: string;
87
- start: number;
88
- startedAt: number;
89
- finishedAt: number | null;
90
- time: number | null;
91
- hasFinished: boolean;
92
- hasSucceeded: boolean;
93
- requestHeaders: Record<string, string>;
94
- responseHeaders: Record<string, string>;
95
- transferBytes: number | null;
96
- resourceBytes: number | null;
97
- }
98
67
  interface JSONReportTestResult extends JSONReportTestResult$1 {
99
68
  _checkly?: {
100
- console?: ConsoleLog[];
101
- network?: NetworkRequest[];
69
+ warnings?: Array<{
70
+ type: string;
71
+ message: string;
72
+ }>;
102
73
  };
103
74
  }
104
75
 
@@ -143,8 +114,16 @@ interface ScrubbingOptions {
143
114
  interface ChecklyReporterOptions {
144
115
  /** Directory for report output. Defaults to Playwright's outputDir. */
145
116
  outputDir?: string;
146
- /** Enable verbose logging. */
117
+ /**
118
+ * Show worker stdout/stderr output in the terminal.
119
+ * Defaults to true.
120
+ */
147
121
  verbose?: boolean;
122
+ /**
123
+ * Show internal Checkly reporter debug logging.
124
+ * Defaults to false. Can also be set via CHECKLY_REPORTER_DEBUG env var.
125
+ */
126
+ debug?: boolean;
148
127
  /** Checkly API key. Can also be set via CHECKLY_API_KEY env var. */
149
128
  apiKey?: string;
150
129
  /** Checkly account ID. Can also be set via CHECKLY_ACCOUNT_ID env var. */
@@ -201,4 +180,4 @@ declare const _default: ChecklyReporterClass;
201
180
  */
202
181
  declare function createChecklyReporter(options?: ChecklyReporterOptions): ['@checkly/playwright-reporter', ChecklyReporterOptions];
203
182
 
204
- export { type ChecklyReporterOptions, type ConsoleLog, type JSONReport, type JSONReportSpec, type JSONReportTestResult, type JSONReportTestStep, MissingCredentialsError, type NetworkRequest, type ScrubbingOptions, createChecklyReporter, _default as default };
183
+ export { type ChecklyReporterOptions, type JSONReport, type JSONReportSpec, type JSONReportTestResult, type JSONReportTestStep, MissingCredentialsError, type ScrubbingOptions, createChecklyReporter, _default as default };