@empiricalrun/playwright-utils 0.18.32 → 0.18.37

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,41 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.18.37
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [451c840]
8
+ - Updated dependencies [7989789]
9
+ - @empiricalrun/test-gen@0.40.0
10
+
11
+ ## 0.18.36
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [f351f94]
16
+ - @empiricalrun/test-gen@0.39.0
17
+
18
+ ## 0.18.35
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [17dcddc]
23
+ - @empiricalrun/test-gen@0.38.56
24
+
25
+ ## 0.18.34
26
+
27
+ ### Patch Changes
28
+
29
+ - e799273: fix: added preferences in annotation method
30
+ - Updated dependencies [e799273]
31
+ - @empiricalrun/test-gen@0.38.55
32
+
33
+ ## 0.18.33
34
+
35
+ ### Patch Changes
36
+
37
+ - 57f0ca4: fix: improved check for error message for auto overlay dismissal
38
+
3
39
  ## 0.18.32
4
40
 
5
41
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"click.d.ts","sourceRoot":"","sources":["../../../../../src/test/scripts/pw-locator-patch/highlight/click.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAKhD,wBAAgB,UAAU,CAAC,YAAY,EAAE,QAAQ,GAAG;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QAqDzE"}
1
+ {"version":3,"file":"click.d.ts","sourceRoot":"","sources":["../../../../../src/test/scripts/pw-locator-patch/highlight/click.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAKhD,wBAAgB,UAAU,CAAC,YAAY,EAAE,QAAQ,GAAG;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,QAuDzE"}
@@ -19,7 +19,7 @@ function patchClick(LocatorClass) {
19
19
  catch (e) {
20
20
  //e is not typed, setting it as any to avoid ts-ignore
21
21
  // If its a test gen or it's not an intercept error, don't trigger the flow
22
- if (!e.message?.includes("subtree intercepts pointer events")) {
22
+ if (!e.message?.includes("intercepts pointer events")) {
23
23
  throw e;
24
24
  }
25
25
  if (process.env.TEST_GEN_TOKEN) {
@@ -40,7 +40,9 @@ function patchClick(LocatorClass) {
40
40
  //Need to add the type for frame
41
41
  //@ts-ignore
42
42
  page: this._frame._page,
43
- options: {},
43
+ options: {
44
+ useActionSpecificAnnotations: true,
45
+ },
44
46
  });
45
47
  //@ts-ignore
46
48
  global.testFn?.info().annotations.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/playwright-utils",
3
- "version": "0.18.32",
3
+ "version": "0.18.37",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -43,8 +43,8 @@
43
43
  "playwright-extra": "^4.3.6",
44
44
  "puppeteer-extra-plugin-recaptcha": "^3.6.8",
45
45
  "rimraf": "^6.0.1",
46
- "@empiricalrun/test-gen": "^0.38.54",
47
46
  "@empiricalrun/r2-uploader": "^0.3.7",
47
+ "@empiricalrun/test-gen": "^0.40.0",
48
48
  "@empiricalrun/llm": "^0.9.29"
49
49
  },
50
50
  "scripts": {