@applitools/eyes-cypress 3.46.0 → 3.47.0
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,64 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.47.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress-v3.46.1...js/eyes-cypress@3.47.0) (2024-11-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* ability to download side by side with highlighted diffs (2419) ([#2530](https://github.com/Applitools-Dev/sdk/issues/2530)) ([e06ce69](https://github.com/Applitools-Dev/sdk/commit/e06ce699f30e9e444ac58dafdf5989ff1c96ca1c))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* better handling of stale elements ([cab10ff](https://github.com/Applitools-Dev/sdk/commit/cab10ff1ae1e6f9560a7d278c710b3fa03f58c83))
|
|
14
|
+
* don't throw error on stale/missing non-target regions ([#2598](https://github.com/Applitools-Dev/sdk/issues/2598)) ([ae39ad9](https://github.com/Applitools-Dev/sdk/commit/ae39ad9fdb129a3f987ee5076660071b66dc1342))
|
|
15
|
+
* eyesGetResults returns a single result ([#2378](https://github.com/Applitools-Dev/sdk/issues/2378)) ([0ed182a](https://github.com/Applitools-Dev/sdk/commit/0ed182ace6fe0d1e1c63d84b4e4512feb53ba795))
|
|
16
|
+
* isStaleElement error ([#2567](https://github.com/Applitools-Dev/sdk/issues/2567)) ([2675086](https://github.com/Applitools-Dev/sdk/commit/2675086aa28589082249e2958942ee29a5f2ef12))
|
|
17
|
+
* provide a clear "stale element" exception message when passing detached regions to `check` ([#2590](https://github.com/Applitools-Dev/sdk/issues/2590)) ([1e5b49e](https://github.com/Applitools-Dev/sdk/commit/1e5b49e9aec6b8caf89f2cdb1f8e81a237d52896))
|
|
18
|
+
* remove environments from close settings ([#2384](https://github.com/Applitools-Dev/sdk/issues/2384)) ([16fdcb5](https://github.com/Applitools-Dev/sdk/commit/16fdcb565249e775701c0a969cdce85245f41b9e))
|
|
19
|
+
* stale layout breakpoints elements ([#2479](https://github.com/Applitools-Dev/sdk/issues/2479)) ([f5e4b5a](https://github.com/Applitools-Dev/sdk/commit/f5e4b5ac8077b8c4b7ba67a38c4e58050a55ce75))
|
|
20
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
21
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
22
|
+
* update ws dependency in eyes-cypress ([#2443](https://github.com/Applitools-Dev/sdk/issues/2443)) ([00c40a5](https://github.com/Applitools-Dev/sdk/commit/00c40a5ca7771f6926d0e5ab1f286641c2be4d44))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* @applitools/dom-snapshot bumped to 4.11.10
|
|
28
|
+
#### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* don't throw error on stale/missing non-target regions ([#2598](https://github.com/Applitools-Dev/sdk/issues/2598)) ([ae39ad9](https://github.com/Applitools-Dev/sdk/commit/ae39ad9fdb129a3f987ee5076660071b66dc1342))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
* @applitools/snippets bumped to 2.6.3
|
|
35
|
+
#### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* don't throw error on stale/missing non-target regions ([#2598](https://github.com/Applitools-Dev/sdk/issues/2598)) ([ae39ad9](https://github.com/Applitools-Dev/sdk/commit/ae39ad9fdb129a3f987ee5076660071b66dc1342))
|
|
38
|
+
* @applitools/driver bumped to 1.20.1
|
|
39
|
+
|
|
40
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.21
|
|
41
|
+
|
|
42
|
+
* @applitools/spec-driver-selenium bumped to 1.5.92
|
|
43
|
+
|
|
44
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.21
|
|
45
|
+
|
|
46
|
+
* @applitools/screenshoter bumped to 3.10.1
|
|
47
|
+
|
|
48
|
+
* @applitools/nml-client bumped to 1.8.19
|
|
49
|
+
|
|
50
|
+
* @applitools/ec-client bumped to 1.9.15
|
|
51
|
+
|
|
52
|
+
* @applitools/core bumped to 4.24.1
|
|
53
|
+
#### Bug Fixes
|
|
54
|
+
|
|
55
|
+
* don't throw error on stale/missing non-target regions ([#2598](https://github.com/Applitools-Dev/sdk/issues/2598)) ([ae39ad9](https://github.com/Applitools-Dev/sdk/commit/ae39ad9fdb129a3f987ee5076660071b66dc1342))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
* @applitools/eyes bumped to 1.27.1
|
|
60
|
+
|
|
61
|
+
|
|
3
62
|
## [3.46.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress-v3.45.3...js/eyes-cypress@3.46.0) (2024-11-09)
|
|
4
63
|
|
|
5
64
|
|
|
@@ -126,7 +126,12 @@ function transformCypressCheckSettings(settings, refer) {
|
|
|
126
126
|
}
|
|
127
127
|
regionSettings = { region: shadowDomSettings };
|
|
128
128
|
}
|
|
129
|
-
|
|
129
|
+
try {
|
|
130
|
+
rawElements.forEach(snippets_1.addFallbackSelectorIfNeeded); // if the element will become stale before the check operation is completed, the fallback selector will be used to recover an alternative element
|
|
131
|
+
}
|
|
132
|
+
catch (e) {
|
|
133
|
+
console.warn('error validating input region(s):', e);
|
|
134
|
+
}
|
|
130
135
|
return regionSettings;
|
|
131
136
|
}
|
|
132
137
|
function convertAccessabilityRegions(accessibilityRegions) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-cypress",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.47.0",
|
|
4
4
|
"homepage": "https://applitools.com/docs/api-ref/sdk-api/cypress/",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"setup": "run --top-level xvfb:setup"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@applitools/core": "4.
|
|
58
|
-
"@applitools/eyes": "1.
|
|
57
|
+
"@applitools/core": "4.24.1",
|
|
58
|
+
"@applitools/eyes": "1.27.0",
|
|
59
59
|
"@applitools/functional-commons": "1.6.0",
|
|
60
60
|
"@applitools/logger": "2.0.19",
|
|
61
61
|
"@applitools/utils": "1.7.5",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@applitools/api-extractor": "^1.2.22",
|
|
70
70
|
"@applitools/bongo": "^5.10.0",
|
|
71
|
-
"@applitools/generic": "^3.9.
|
|
71
|
+
"@applitools/generic": "^3.9.2",
|
|
72
72
|
"@applitools/snaptdout": "^1.0.1",
|
|
73
73
|
"@applitools/test-server": "^1.2.2",
|
|
74
74
|
"@applitools/test-utils": "^1.5.17",
|
|
@@ -118,7 +118,11 @@ export function transformCypressCheckSettings(
|
|
|
118
118
|
}
|
|
119
119
|
regionSettings = {region: shadowDomSettings}
|
|
120
120
|
}
|
|
121
|
-
|
|
121
|
+
try {
|
|
122
|
+
rawElements.forEach(addFallbackSelectorIfNeeded) // if the element will become stale before the check operation is completed, the fallback selector will be used to recover an alternative element
|
|
123
|
+
} catch (e) {
|
|
124
|
+
console.warn('error validating input region(s):', e)
|
|
125
|
+
}
|
|
122
126
|
return regionSettings
|
|
123
127
|
}
|
|
124
128
|
|
package/src/expose.ts
CHANGED
|
@@ -80,12 +80,6 @@ export type CypressEyesConfig = api.ConfigurationPlain<SpecType> & {
|
|
|
80
80
|
|
|
81
81
|
envName?: CypressEyesConfig['environmentName']
|
|
82
82
|
|
|
83
|
-
accessibilityValidation?: AccessibilityValidation
|
|
84
|
-
matchLevel?: NonNullable<CypressEyesConfig['defaultMatchSettings']>['matchLevel']
|
|
85
|
-
ignoreCaret?: NonNullable<boolean>
|
|
86
|
-
ignoreDisplacements?: NonNullable<boolean>
|
|
87
|
-
useDom?: NonNullable<boolean>
|
|
88
|
-
enablePatterns?: NonNullable<boolean>
|
|
89
83
|
scriptHooks?: {
|
|
90
84
|
beforeCaptureScreenshot: string
|
|
91
85
|
}
|