@empiricalrun/playwright-utils 0.18.32 → 0.18.36

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,33 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.18.36
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f351f94]
8
+ - @empiricalrun/test-gen@0.39.0
9
+
10
+ ## 0.18.35
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [17dcddc]
15
+ - @empiricalrun/test-gen@0.38.56
16
+
17
+ ## 0.18.34
18
+
19
+ ### Patch Changes
20
+
21
+ - e799273: fix: added preferences in annotation method
22
+ - Updated dependencies [e799273]
23
+ - @empiricalrun/test-gen@0.38.55
24
+
25
+ ## 0.18.33
26
+
27
+ ### Patch Changes
28
+
29
+ - 57f0ca4: fix: improved check for error message for auto overlay dismissal
30
+
3
31
  ## 0.18.32
4
32
 
5
33
  ### 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.36",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -43,7 +43,7 @@
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",
46
+ "@empiricalrun/test-gen": "^0.39.0",
47
47
  "@empiricalrun/r2-uploader": "^0.3.7",
48
48
  "@empiricalrun/llm": "^0.9.29"
49
49
  },