endform 0.71.0 → 0.73.0
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/lib/index.d.ts +25 -17
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
|
@@ -31,6 +31,14 @@ export interface ConcurrentTestLimit {
|
|
|
31
31
|
limit: number;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
export interface PlaywrightOpentelemetryDestination {
|
|
35
|
+
url: string;
|
|
36
|
+
headers?: Record<string, string>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** @deprecated Use `PlaywrightOpentelemetryDestination` instead. */
|
|
40
|
+
export type DeprecatedOtlpEndpointString = string;
|
|
41
|
+
|
|
34
42
|
/**
|
|
35
43
|
* Endform configuration.
|
|
36
44
|
*
|
|
@@ -127,21 +135,6 @@ export interface EndformConfig {
|
|
|
127
135
|
* @see https://endform.dev/docs/reference/endform-config-ts#remotereporters
|
|
128
136
|
*/
|
|
129
137
|
remoteReporters?: string[];
|
|
130
|
-
/**
|
|
131
|
-
* Control whether Endform retains Playwright traces for viewing in the
|
|
132
|
-
* dashboard. Defaults to `"on"`.
|
|
133
|
-
*
|
|
134
|
-
* When set to `"off"`, traces are not uploaded to Endform. This can be
|
|
135
|
-
* useful for compliance requirements or if you have privacy concerns about
|
|
136
|
-
* trace data.
|
|
137
|
-
*
|
|
138
|
-
* Note: this setting only controls what Endform stores for dashboard
|
|
139
|
-
* viewing. Regardless of this setting, traces are still generated and
|
|
140
|
-
* accessible locally depending on your Playwright `trace` config option.
|
|
141
|
-
*
|
|
142
|
-
* @see https://endform.dev/docs/reference/endform-config-ts#traceretention
|
|
143
|
-
*/
|
|
144
|
-
traceRetention?: "on" | "off";
|
|
145
138
|
/**
|
|
146
139
|
* Extra HTTP headers that will be applied to the Playwright browser
|
|
147
140
|
* contexts when tests run on remote runners.
|
|
@@ -165,16 +158,31 @@ export interface EndformConfig {
|
|
|
165
158
|
* by remote runners.
|
|
166
159
|
*
|
|
167
160
|
* Trace propagation becomes enabled when this parameter is set.
|
|
161
|
+
* All attempts export otel data to remotes by default when this is set
|
|
168
162
|
*
|
|
169
|
-
* @example
|
|
163
|
+
* @example
|
|
164
|
+
* {
|
|
165
|
+
* url: "https://api.eu1.honeycomb.io/v1/traces",
|
|
166
|
+
* headers: { "x-honeycomb-team": process.env.HONEYCOMB_API_KEY! },
|
|
167
|
+
* }
|
|
170
168
|
*
|
|
171
169
|
* For more information: https://github.com/endformdev/playwright-opentelemetry
|
|
172
170
|
*/
|
|
173
|
-
otlpEndpoint?:
|
|
171
|
+
otlpEndpoint?:
|
|
172
|
+
| PlaywrightOpentelemetryDestination
|
|
173
|
+
| DeprecatedOtlpEndpointString;
|
|
174
|
+
/**
|
|
175
|
+
* External OTLP trace destinations for Playwright OpenTelemetry traces emitted
|
|
176
|
+
* by remote runners.
|
|
177
|
+
*
|
|
178
|
+
* Use this when you want to export to multiple OTLP collectors.
|
|
179
|
+
*/
|
|
180
|
+
otlpEndpoints?: PlaywrightOpentelemetryDestination[];
|
|
174
181
|
/**
|
|
175
182
|
* Headers sent with external OTLP trace exports from remote runners.
|
|
176
183
|
*
|
|
177
184
|
* @example { "x-honeycomb-team": process.env.HONEYCOMB_API_KEY! }
|
|
185
|
+
* @deprecated Use `otlpEndpoint: { url, headers }` or `otlpEndpoints` instead.
|
|
178
186
|
*/
|
|
179
187
|
otlpHeaders?: Record<string, string>;
|
|
180
188
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "endform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.73.0",
|
|
4
4
|
"description": "Endform CLI",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": "https://github.com/endformdev/npm",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"endform-darwin-arm64": "0.
|
|
25
|
-
"endform-darwin-x86": "0.
|
|
26
|
-
"endform-linux-arm64": "0.
|
|
27
|
-
"endform-linux-x86": "0.
|
|
24
|
+
"endform-darwin-arm64": "0.73.0",
|
|
25
|
+
"endform-darwin-x86": "0.73.0",
|
|
26
|
+
"endform-linux-arm64": "0.73.0",
|
|
27
|
+
"endform-linux-x86": "0.73.0"
|
|
28
28
|
}
|
|
29
29
|
}
|