@empiricalrun/playwright-utils 0.19.24 → 0.19.26

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,23 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.19.26
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6f876ea]
8
+ - Updated dependencies [658451e]
9
+ - @empiricalrun/test-gen@0.42.18
10
+ - @empiricalrun/llm@0.9.32
11
+
12
+ ## 0.19.25
13
+
14
+ ### Patch Changes
15
+
16
+ - 781797b: fix: increase maxFailures default to accommodate retries
17
+ - Updated dependencies [65e821a]
18
+ - Updated dependencies [286a1a5]
19
+ - @empiricalrun/test-gen@0.42.17
20
+
3
21
  ## 0.19.24
4
22
 
5
23
  ### 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.24",
3
+ "version": "0.19.26",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -40,9 +40,9 @@
40
40
  "playwright-core": "1.47.1",
41
41
  "puppeteer-extra-plugin-recaptcha": "^3.6.8",
42
42
  "rimraf": "^6.0.1",
43
- "@empiricalrun/llm": "^0.9.31",
44
43
  "@empiricalrun/r2-uploader": "^0.3.8",
45
- "@empiricalrun/test-gen": "^0.42.16"
44
+ "@empiricalrun/test-gen": "^0.42.18",
45
+ "@empiricalrun/llm": "^0.9.32"
46
46
  },
47
47
  "scripts": {
48
48
  "dev": "tsc --build --watch",