@empiricalrun/playwright-utils 0.55.0 → 0.57.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/CHANGELOG.md +17 -0
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +7 -1
- package/dist/generated/api-worker-openapi.d.ts +11558 -7936
- package/dist/generated/api-worker-openapi.d.ts.map +1 -1
- package/dist/reporter/empirical-reporter.d.ts +3 -1
- package/dist/reporter/empirical-reporter.d.ts.map +1 -1
- package/dist/reporter/empirical-reporter.js +7 -0
- package/dist/reporter/uploader.js +7 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @empiricalrun/playwright-utils
|
|
2
2
|
|
|
3
|
+
## 0.57.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3648c5c: feat: modify storage class for artifact uploads
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [3648c5c]
|
|
12
|
+
- @empiricalrun/r2-uploader@0.10.0
|
|
13
|
+
|
|
14
|
+
## 0.56.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 10f0931: feat: client-side maxFailure config informs server-side behavior
|
|
19
|
+
|
|
3
20
|
## 0.55.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAgBzD,wBAAgB,gBAAgB,IAAI,MAAM,CAazC;AAqCD,eAAO,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAgBzD,wBAAgB,gBAAgB,IAAI,MAAM,CAazC;AAqCD,eAAO,MAAM,UAAU,EAAE,oBA+BxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,iBAarB,CAAC"}
|
package/dist/config/index.js
CHANGED
|
@@ -79,7 +79,13 @@ exports.baseConfig = {
|
|
|
79
79
|
retries: process.env.CI ? 2 : 0,
|
|
80
80
|
// Let playwright choose max workers based on size of infra
|
|
81
81
|
workers: undefined,
|
|
82
|
-
//
|
|
82
|
+
// Since Playwright 1.48, a test counts toward maxFailures only after all its
|
|
83
|
+
// retries are exhausted, so this is 30 definitively-failed tests (see
|
|
84
|
+
// https://github.com/microsoft/playwright/issues/26350). The reporter sends
|
|
85
|
+
// the resolved value on run-end events so the server-side early-end
|
|
86
|
+
// (api-worker cancelTestRunIfMaxFailuresReached) enforces the same cap
|
|
87
|
+
// run-wide across shards. Matches DEFAULT_MAX_FAILURES_PER_RUN in
|
|
88
|
+
// shared-types, the server's fallback for events without the field.
|
|
83
89
|
maxFailures: process.env.CI ? 30 : undefined,
|
|
84
90
|
timeout: 15 * 60 * 1_000,
|
|
85
91
|
expect: {
|