@empiricalrun/playwright-utils 0.39.4 → 0.39.5

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
@@ -1,5 +1,11 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.39.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 9a18c3c: fix: maxFailures cannot be shard aware locally
8
+
3
9
  ## 0.39.4
4
10
 
5
11
  ### Patch 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;AA6BD,eAAO,MAAM,UAAU,EAAE,oBA4BxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,iBAarB,CAAC"}
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;AA6BD,eAAO,MAAM,UAAU,EAAE,oBAyBxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,iBAarB,CAAC"}
@@ -71,11 +71,8 @@ exports.baseConfig = {
71
71
  retries: process.env.CI ? 2 : 0,
72
72
  // Let playwright choose max workers based on size of infra
73
73
  workers: undefined,
74
- // maxFailures counts retries as individual failures, so this is equivalent to ~20 failed tests
75
- // When sharding, distribute the limit across shards (rounded up)
76
- maxFailures: process.env.CI
77
- ? Math.ceil(30 / (parseInt(process.env.TOTAL_SHARDS, 10) || 1))
78
- : undefined,
74
+ // maxFailures counts retries as individual failures, so this is equivalent to 20 failed tests
75
+ maxFailures: process.env.CI ? 30 : undefined,
79
76
  timeout: 15 * 60 * 1_000,
80
77
  expect: {
81
78
  timeout: 15_000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/playwright-utils",
3
- "version": "0.39.4",
3
+ "version": "0.39.5",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -42,8 +42,8 @@
42
42
  "console-log-level": "^1.4.1",
43
43
  "puppeteer-extra-plugin-recaptcha": "^3.6.8",
44
44
  "rimraf": "^6.0.1",
45
- "@empiricalrun/cua": "^0.2.0",
46
45
  "@empiricalrun/dashboard-client": "^0.2.0",
46
+ "@empiricalrun/cua": "^0.2.0",
47
47
  "@empiricalrun/llm": "^0.25.2",
48
48
  "@empiricalrun/r2-uploader": "^0.9.1"
49
49
  },