pomwright 1.0.1 → 1.0.2
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 +25 -0
- package/dist/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# pomwright
|
|
2
2
|
|
|
3
|
+
## 1.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#25](https://github.com/DyHex/POMWright/pull/25) [`993b0ad`](https://github.com/DyHex/POMWright/commit/993b0adc0f437c2c30b436ef6583a59811e0a6a5) Thanks [@DyHex](https://github.com/DyHex)! - # Change
|
|
8
|
+
|
|
9
|
+
buildNestedLocator will no longer attempt to auto-scroll to the final nested locator
|
|
10
|
+
|
|
11
|
+
Was done previously in an attempt to improve test recordings, but it sometimes causes tearing in screenshots and isn't ideal when using nested locators for visual regression tests.
|
|
12
|
+
|
|
13
|
+
## Playwright/test compatibility
|
|
14
|
+
|
|
15
|
+
Tested with the following Playwright/test versions:
|
|
16
|
+
|
|
17
|
+
- 1.43.1
|
|
18
|
+
- 1.43.0
|
|
19
|
+
- 1.42.1
|
|
20
|
+
- 1.42.0 (not recommended)
|
|
21
|
+
- 1.41.2
|
|
22
|
+
- 1.41.1
|
|
23
|
+
- 1.41.0
|
|
24
|
+
- 1.40.1
|
|
25
|
+
- 1.40.0
|
|
26
|
+
- 1.39.0
|
|
27
|
+
|
|
3
28
|
## 1.0.1
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -703,8 +703,6 @@ Attempted to Add Schema: ${JSON.stringify(newLocatorSchema, null, 2)}`
|
|
|
703
703
|
this.log.debug("Nested locator evaluation results:", JSON.stringify(nestedLocatorResults, null, 2));
|
|
704
704
|
}
|
|
705
705
|
if (currentLocator != null) {
|
|
706
|
-
currentLocator.scrollIntoViewIfNeeded().catch(() => {
|
|
707
|
-
});
|
|
708
706
|
return currentLocator;
|
|
709
707
|
}
|
|
710
708
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -672,8 +672,6 @@ Attempted to Add Schema: ${JSON.stringify(newLocatorSchema, null, 2)}`
|
|
|
672
672
|
this.log.debug("Nested locator evaluation results:", JSON.stringify(nestedLocatorResults, null, 2));
|
|
673
673
|
}
|
|
674
674
|
if (currentLocator != null) {
|
|
675
|
-
currentLocator.scrollIntoViewIfNeeded().catch(() => {
|
|
676
|
-
});
|
|
677
675
|
return currentLocator;
|
|
678
676
|
}
|
|
679
677
|
});
|