@applitools/driver
Advanced tools
Comparing version 1.19.0 to 1.19.1
# Changelog | ||
## [1.19.1](https://github.com/Applitools-Dev/sdk/compare/js/driver@1.19.0...js/driver@1.19.1) (2024-09-16) | ||
### Bug Fixes | ||
* stale layout breakpoints elements ([#2479](https://github.com/Applitools-Dev/sdk/issues/2479)) ([f5e4b5a](https://github.com/Applitools-Dev/sdk/commit/f5e4b5ac8077b8c4b7ba67a38c4e58050a55ce75)) | ||
### Dependencies | ||
* @applitools/snippets bumped to 2.5.0 | ||
#### Features | ||
* add playwright fixture ([#2412](https://github.com/Applitools-Dev/sdk/issues/2412)) ([0632e93](https://github.com/Applitools-Dev/sdk/commit/0632e93dd7f53029a8c5f4230d22a05abf5fefd4)) | ||
#### Bug Fixes | ||
* stale layout breakpoints elements ([#2479](https://github.com/Applitools-Dev/sdk/issues/2479)) ([f5e4b5a](https://github.com/Applitools-Dev/sdk/commit/f5e4b5ac8077b8c4b7ba67a38c4e58050a55ce75)) | ||
## [1.19.0](https://github.com/Applitools-Dev/sdk/compare/js/driver@1.18.0...js/driver@1.19.0) (2024-09-10) | ||
@@ -4,0 +24,0 @@ |
@@ -145,12 +145,8 @@ "use strict"; | ||
}); | ||
this.mockScript(snippets.addElementIds, ([elements, ids]) => { | ||
const selectors = []; | ||
for (const [index, element] of elements.entries()) { | ||
const elementId = ids[index]; | ||
this.mockScript(snippets.addElementIds, elementsWithIds => { | ||
return elementsWithIds.map(([elements, id]) => elements.map(element => { | ||
element.attributes = element.attributes || []; | ||
element.attributes.push({ name: 'data-applitools-selector', value: elementId }); | ||
const selector = `[data-applitools-selector~="${elementId}"]`; | ||
selectors.push([selector]); | ||
} | ||
return selectors; | ||
element.attributes.push({ name: 'data-applitools-marker', value: id }); | ||
return [`[data-applitools-marker~="${id}"]`]; // no shadow is mocked here | ||
})); | ||
}); | ||
@@ -157,0 +153,0 @@ this.mockScript(snippets.cleanupElementIds, ([elements]) => { |
{ | ||
"name": "@applitools/driver", | ||
"version": "1.19.0", | ||
"version": "1.19.1", | ||
"description": "Applitools universal framework wrapper", | ||
@@ -77,3 +77,3 @@ "keywords": [ | ||
"@applitools/logger": "2.0.18", | ||
"@applitools/snippets": "2.4.27", | ||
"@applitools/snippets": "2.5.0", | ||
"@applitools/utils": "1.7.4", | ||
@@ -80,0 +80,0 @@ "semver": "7.6.2" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
279206
4357
+ Added@applitools/snippets@2.5.0(transitive)
- Removed@applitools/snippets@2.4.27(transitive)
Updated@applitools/snippets@2.5.0