@empiricalrun/playwright-utils 0.19.23 → 0.19.25

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,20 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.19.25
4
+
5
+ ### Patch Changes
6
+
7
+ - 781797b: fix: increase maxFailures default to accommodate retries
8
+ - Updated dependencies [65e821a]
9
+ - Updated dependencies [286a1a5]
10
+ - @empiricalrun/test-gen@0.42.17
11
+
12
+ ## 0.19.24
13
+
14
+ ### Patch Changes
15
+
16
+ - @empiricalrun/test-gen@0.42.16
17
+
3
18
  ## 0.19.23
4
19
 
5
20
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAa7D,wBAAgB,gBAAgB,IAAI,MAAM,CAazC;AAED,eAAO,MAAM,UAAU,EAAE,oBA0BxB,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAa7D,wBAAgB,gBAAgB,IAAI,MAAM,CAazC;AAED,eAAO,MAAM,UAAU,EAAE,oBA6BxB,CAAC"}
package/dist/config.js CHANGED
@@ -33,12 +33,15 @@ function chromeStablePath() {
33
33
  exports.chromeStablePath = chromeStablePath;
34
34
  exports.baseConfig = {
35
35
  testDir: "./tests",
36
- outputDir: "./playwright-report/data", // to store default playwright artifacts (during and post test run)
36
+ // outputDir is where we store playwright artifacts (during and post test run)
37
+ outputDir: "./playwright-report/data",
37
38
  fullyParallel: true,
38
39
  forbidOnly: false,
39
40
  retries: process.env.CI ? 2 : 0,
40
- maxFailures: process.env.CI ? 20 : undefined,
41
+ // Let playwright choose max workers based on size of infra
41
42
  workers: undefined,
43
+ // maxFailures counts retries as individual failures, so this is equivalent to 20 failed tests
44
+ maxFailures: process.env.CI ? 60 : undefined,
42
45
  reporter: [
43
46
  ["list"], // For real-time reporting on CI terminal (vs. the default "dot" reporter)
44
47
  ["json", { outputFile: "playwright-report/summary.json" }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/playwright-utils",
3
- "version": "0.19.23",
3
+ "version": "0.19.25",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -42,7 +42,7 @@
42
42
  "rimraf": "^6.0.1",
43
43
  "@empiricalrun/llm": "^0.9.31",
44
44
  "@empiricalrun/r2-uploader": "^0.3.8",
45
- "@empiricalrun/test-gen": "^0.42.15"
45
+ "@empiricalrun/test-gen": "^0.42.17"
46
46
  },
47
47
  "scripts": {
48
48
  "dev": "tsc --build --watch",