@applitools/eyes-cypress 3.45.2 → 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,101 @@
|
|
|
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
|
+
|
|
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)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Features
|
|
66
|
+
|
|
67
|
+
* 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))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Bug Fixes
|
|
71
|
+
|
|
72
|
+
* better handling of stale elements ([cab10ff](https://github.com/Applitools-Dev/sdk/commit/cab10ff1ae1e6f9560a7d278c710b3fa03f58c83))
|
|
73
|
+
* eyesGetResults returns a single result ([#2378](https://github.com/Applitools-Dev/sdk/issues/2378)) ([0ed182a](https://github.com/Applitools-Dev/sdk/commit/0ed182ace6fe0d1e1c63d84b4e4512feb53ba795))
|
|
74
|
+
* isStaleElement error ([#2567](https://github.com/Applitools-Dev/sdk/issues/2567)) ([2675086](https://github.com/Applitools-Dev/sdk/commit/2675086aa28589082249e2958942ee29a5f2ef12))
|
|
75
|
+
* 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))
|
|
76
|
+
* remove environments from close settings ([#2384](https://github.com/Applitools-Dev/sdk/issues/2384)) ([16fdcb5](https://github.com/Applitools-Dev/sdk/commit/16fdcb565249e775701c0a969cdce85245f41b9e))
|
|
77
|
+
* stale layout breakpoints elements ([#2479](https://github.com/Applitools-Dev/sdk/issues/2479)) ([f5e4b5a](https://github.com/Applitools-Dev/sdk/commit/f5e4b5ac8077b8c4b7ba67a38c4e58050a55ce75))
|
|
78
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
79
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
80
|
+
* update ws dependency in eyes-cypress ([#2443](https://github.com/Applitools-Dev/sdk/issues/2443)) ([00c40a5](https://github.com/Applitools-Dev/sdk/commit/00c40a5ca7771f6926d0e5ab1f286641c2be4d44))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Dependencies
|
|
84
|
+
|
|
85
|
+
* @applitools/dom-snapshot bumped to 4.11.8
|
|
86
|
+
#### Bug Fixes
|
|
87
|
+
|
|
88
|
+
* overcome dom snapshot's failure to download resource from browser ([#2610](https://github.com/Applitools-Dev/sdk/issues/2610)) ([47d46fb](https://github.com/Applitools-Dev/sdk/commit/47d46fbe3baab12d5153f6617ab60142a8a215cf))
|
|
89
|
+
* @applitools/core bumped to 4.23.1
|
|
90
|
+
#### Bug Fixes
|
|
91
|
+
|
|
92
|
+
* overcome dom snapshot's failure to download resource from browser ([#2610](https://github.com/Applitools-Dev/sdk/issues/2610)) ([47d46fb](https://github.com/Applitools-Dev/sdk/commit/47d46fbe3baab12d5153f6617ab60142a8a215cf))
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
* @applitools/eyes bumped to 1.26.3
|
|
97
|
+
|
|
98
|
+
|
|
3
99
|
## [3.45.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress@3.45.1...js/eyes-cypress@3.45.2) (2024-10-29)
|
|
4
100
|
|
|
5
101
|
|
|
@@ -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,11 +54,11 @@
|
|
|
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
|
-
"@applitools/logger": "2.0.
|
|
61
|
-
"@applitools/utils": "1.7.
|
|
60
|
+
"@applitools/logger": "2.0.19",
|
|
61
|
+
"@applitools/utils": "1.7.5",
|
|
62
62
|
"boxen": "5.1.2",
|
|
63
63
|
"chalk": "3.0.0",
|
|
64
64
|
"semver": "7.6.2",
|
|
@@ -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
|
}
|
package/types/expose.d.ts
CHANGED
|
@@ -128,57 +128,57 @@ export type CypressCheckSettings = {
|
|
|
128
128
|
y: number;
|
|
129
129
|
width: number;
|
|
130
130
|
height: number;
|
|
131
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | { region: {
|
|
131
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | { region: {
|
|
132
132
|
x: number;
|
|
133
133
|
y: number;
|
|
134
134
|
width: number;
|
|
135
135
|
height: number;
|
|
136
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; })); padding?: number | { top: number; bottom: number; left: number; right: number; }; regionId?: string; }>;
|
|
136
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; })); padding?: number | { top: number; bottom: number; left: number; right: number; }; regionId?: string; }>;
|
|
137
137
|
layoutRegions?: Array<({
|
|
138
138
|
x: number;
|
|
139
139
|
y: number;
|
|
140
140
|
width: number;
|
|
141
141
|
height: number;
|
|
142
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | { region: {
|
|
142
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | { region: {
|
|
143
143
|
x: number;
|
|
144
144
|
y: number;
|
|
145
145
|
width: number;
|
|
146
146
|
height: number;
|
|
147
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; })); padding?: number | { top: number; bottom: number; left: number; right: number; }; regionId?: string; }>;
|
|
147
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; })); padding?: number | { top: number; bottom: number; left: number; right: number; }; regionId?: string; }>;
|
|
148
148
|
strictRegions?: Array<({
|
|
149
149
|
x: number;
|
|
150
150
|
y: number;
|
|
151
151
|
width: number;
|
|
152
152
|
height: number;
|
|
153
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | { region: {
|
|
153
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | { region: {
|
|
154
154
|
x: number;
|
|
155
155
|
y: number;
|
|
156
156
|
width: number;
|
|
157
157
|
height: number;
|
|
158
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; })); padding?: number | { top: number; bottom: number; left: number; right: number; }; regionId?: string; }>;
|
|
158
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; })); padding?: number | { top: number; bottom: number; left: number; right: number; }; regionId?: string; }>;
|
|
159
159
|
contentRegions?: Array<({
|
|
160
160
|
x: number;
|
|
161
161
|
y: number;
|
|
162
162
|
width: number;
|
|
163
163
|
height: number;
|
|
164
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | { region: {
|
|
164
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | { region: {
|
|
165
165
|
x: number;
|
|
166
166
|
y: number;
|
|
167
167
|
width: number;
|
|
168
168
|
height: number;
|
|
169
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; })); padding?: number | { top: number; bottom: number; left: number; right: number; }; regionId?: string; }>;
|
|
169
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; })); padding?: number | { top: number; bottom: number; left: number; right: number; }; regionId?: string; }>;
|
|
170
170
|
floatingRegions?: Array<({
|
|
171
171
|
x: number;
|
|
172
172
|
y: number;
|
|
173
173
|
width: number;
|
|
174
174
|
height: number;
|
|
175
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | {
|
|
175
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | {
|
|
176
176
|
region: {
|
|
177
177
|
x: number;
|
|
178
178
|
y: number;
|
|
179
179
|
width: number;
|
|
180
180
|
height: number;
|
|
181
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }));
|
|
181
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }));
|
|
182
182
|
padding?: number | { top: number; bottom: number; left: number; right: number; };
|
|
183
183
|
regionId?: string;
|
|
184
184
|
offset?: { top?: number; bottom?: number; left?: number; right?: number; };
|
|
@@ -188,7 +188,7 @@ export type CypressCheckSettings = {
|
|
|
188
188
|
y: number;
|
|
189
189
|
width: number;
|
|
190
190
|
height: number;
|
|
191
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }));
|
|
191
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }));
|
|
192
192
|
padding?: number | { top: number; bottom: number; left: number; right: number; };
|
|
193
193
|
regionId?: string;
|
|
194
194
|
maxUpOffset?: number;
|
|
@@ -201,13 +201,13 @@ export type CypressCheckSettings = {
|
|
|
201
201
|
y: number;
|
|
202
202
|
width: number;
|
|
203
203
|
height: number;
|
|
204
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | {
|
|
204
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | {
|
|
205
205
|
region: {
|
|
206
206
|
x: number;
|
|
207
207
|
y: number;
|
|
208
208
|
width: number;
|
|
209
209
|
height: number;
|
|
210
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }));
|
|
210
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }));
|
|
211
211
|
padding?: number | { top: number; bottom: number; left: number; right: number; };
|
|
212
212
|
regionId?: string;
|
|
213
213
|
type?: "IgnoreContrast" | "RegularText" | "LargeText" | "BoldText" | "GraphicalObject";
|
|
@@ -217,13 +217,13 @@ export type CypressCheckSettings = {
|
|
|
217
217
|
y: number;
|
|
218
218
|
width: number;
|
|
219
219
|
height: number;
|
|
220
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | {
|
|
220
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }))) | {
|
|
221
221
|
region: {
|
|
222
222
|
x: number;
|
|
223
223
|
y: number;
|
|
224
224
|
width: number;
|
|
225
225
|
height: number;
|
|
226
|
-
} | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }));
|
|
226
|
+
} | { left: number; top: number; width: number; height: number; } | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }));
|
|
227
227
|
padding?: number | { top: number; bottom: number; left: number; right: number; };
|
|
228
228
|
regionId?: string;
|
|
229
229
|
type?: string | Array<string>;
|
|
@@ -238,6 +238,7 @@ export type CypressCheckSettings = {
|
|
|
238
238
|
disableBrowserFetching?: boolean;
|
|
239
239
|
layoutBreakpoints?: boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: boolean; };
|
|
240
240
|
visualGridOptions?: { [key: string]: any; };
|
|
241
|
+
ufgOptions?: { [key: string]: any; };
|
|
241
242
|
nmgOptions?: { [key: string]: any; };
|
|
242
243
|
useSystemScreenshot?: boolean;
|
|
243
244
|
hooks?: { beforeCaptureScreenshot: string; };
|
|
@@ -258,11 +259,10 @@ export type CypressCheckSettings = {
|
|
|
258
259
|
browser?: MaybeArray<(({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { androidDeviceInfo: { deviceName: "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Tab S8" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Galaxy S20 Plus" | "Galaxy S21 Plus" | "Xiaomi Redmi Note 11 Pro" | "Xiaomi Redmi Note 11" | "Xiaomi Redmi Note 10 JE" | "Pixel 6" | "Galaxy S22 Plus" | "Sony Xperia 1 II" | "Sony Xperia Ace II" | "Huawei P30 Lite"; version?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })) | { deviceName: DeviceName; screenOrientation?: ScreenOrientationPlain; name?: string; }>;
|
|
259
260
|
};
|
|
260
261
|
export type CypressEyesConfig = {
|
|
261
|
-
|
|
262
|
+
accessibilityValidation?: AccessibilityValidation;
|
|
262
263
|
agentId?: string;
|
|
263
264
|
apiKey?: string;
|
|
264
|
-
|
|
265
|
-
proxy?: { url: string; username?: string; password?: string; };
|
|
265
|
+
appName?: string;
|
|
266
266
|
autProxy?: {
|
|
267
267
|
url: string;
|
|
268
268
|
username?: string;
|
|
@@ -270,15 +270,8 @@ export type CypressEyesConfig = {
|
|
|
270
270
|
mode?: "Allow" | "Block";
|
|
271
271
|
domains?: Array<string>;
|
|
272
272
|
};
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
removeSession?: boolean;
|
|
276
|
-
appName?: string;
|
|
277
|
-
testName?: string;
|
|
278
|
-
displayName?: string;
|
|
279
|
-
viewportSize?: { width: number; height: number; };
|
|
280
|
-
sessionType?: "SEQUENTIAL" | "PROGRESSION";
|
|
281
|
-
properties?: Array<{ name: string; value: string; }>;
|
|
273
|
+
baselineBranchName?: string;
|
|
274
|
+
baselineEnvName?: string;
|
|
282
275
|
batch?: {
|
|
283
276
|
id?: string;
|
|
284
277
|
name?: string;
|
|
@@ -287,6 +280,14 @@ export type CypressEyesConfig = {
|
|
|
287
280
|
notifyOnCompletion?: boolean;
|
|
288
281
|
properties?: Array<{ name: string; value: string; }>;
|
|
289
282
|
};
|
|
283
|
+
branchName?: string;
|
|
284
|
+
browsersInfo?: Array<({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { androidDeviceInfo: { deviceName: "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Tab S8" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Galaxy S20 Plus" | "Galaxy S21 Plus" | "Xiaomi Redmi Note 11 Pro" | "Xiaomi Redmi Note 11" | "Xiaomi Redmi Note 10 JE" | "Pixel 6" | "Galaxy S22 Plus" | "Sony Xperia 1 II" | "Sony Xperia Ace II" | "Huawei P30 Lite"; version?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
285
|
+
captureStatusBar?: boolean;
|
|
286
|
+
compareWithParentBranch?: boolean;
|
|
287
|
+
concurrentSessions?: number;
|
|
288
|
+
connectionTimeout?: number;
|
|
289
|
+
cut?: { top: number; right: number; bottom: number; left: number; } | { x: number; y: number; width: number; height: number; };
|
|
290
|
+
debugScreenshots?: { save: boolean; path?: string; prefix?: string; };
|
|
290
291
|
defaultMatchSettings?: {
|
|
291
292
|
exact?: { minDiffIntensity: number; minDiffWidth: number; minDiffHeight: number; matchThreshold: number; };
|
|
292
293
|
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
@@ -348,44 +349,51 @@ export type CypressEyesConfig = {
|
|
|
348
349
|
}; type?: "IgnoreContrast" | "RegularText" | "LargeText" | "BoldText" | "GraphicalObject"; }>;
|
|
349
350
|
accessibilitySettings?: AccessibilityValidation;
|
|
350
351
|
};
|
|
351
|
-
hostApp?: string;
|
|
352
|
-
hostOS?: string;
|
|
353
|
-
hostAppInfo?: string;
|
|
354
|
-
hostOSInfo?: string;
|
|
355
352
|
deviceInfo?: string;
|
|
356
|
-
|
|
353
|
+
disableBrowserFetching?: boolean;
|
|
354
|
+
disableNMLUrlCache?: boolean;
|
|
355
|
+
displayName?: string;
|
|
356
|
+
dontCloseBatches?: boolean;
|
|
357
|
+
enablePatterns?: boolean;
|
|
357
358
|
environmentName?: string;
|
|
358
|
-
|
|
359
|
-
parentBranchName?: string;
|
|
359
|
+
forceFullPageScreenshot?: boolean;
|
|
360
360
|
gitMergeBaseTimestamp?: string;
|
|
361
|
-
|
|
362
|
-
|
|
361
|
+
hideCaret?: boolean;
|
|
362
|
+
hideScrollbars?: boolean;
|
|
363
|
+
hostApp?: string;
|
|
364
|
+
hostAppInfo?: string;
|
|
365
|
+
hostOS?: string;
|
|
366
|
+
hostOSInfo?: string;
|
|
363
367
|
ignoreBaseline?: boolean;
|
|
368
|
+
ignoreCaret?: boolean;
|
|
369
|
+
ignoreDisplacements?: boolean;
|
|
364
370
|
ignoreGitMergeBase?: boolean;
|
|
371
|
+
isDisabled?: boolean;
|
|
372
|
+
layoutBreakpoints?: boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: boolean; };
|
|
373
|
+
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
374
|
+
matchTimeout?: number;
|
|
375
|
+
mobileOptions?: { keepNavigationBar?: boolean; };
|
|
376
|
+
parentBranchName?: string;
|
|
377
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
378
|
+
proxy?: { url: string; username?: string; password?: string; };
|
|
379
|
+
removeSession?: boolean;
|
|
380
|
+
rotation?: 0 | 270 | -270 | 180 | -180 | 90 | -90;
|
|
381
|
+
saveDiffs?: boolean;
|
|
365
382
|
saveFailedTests?: boolean;
|
|
366
383
|
saveNewTests?: boolean;
|
|
367
|
-
|
|
368
|
-
|
|
384
|
+
scaleRatio?: number;
|
|
385
|
+
scrollRootElement?: Element | EyesSelector<Selector>;
|
|
369
386
|
sendDom?: boolean;
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
waitBeforeScreenshots?: number;
|
|
387
|
+
serverUrl?: string;
|
|
388
|
+
sessionType?: "SEQUENTIAL" | "PROGRESSION";
|
|
373
389
|
stitchMode?: "Scroll" | "CSS" | "Resize";
|
|
374
|
-
hideScrollbars?: boolean;
|
|
375
|
-
hideCaret?: boolean;
|
|
376
390
|
stitchOverlap?: number;
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
scaleRatio?: number;
|
|
381
|
-
concurrentSessions?: number;
|
|
382
|
-
browsersInfo?: Array<({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { androidDeviceInfo: { deviceName: "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Tab S8" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Galaxy S20 Plus" | "Galaxy S21 Plus" | "Xiaomi Redmi Note 11 Pro" | "Xiaomi Redmi Note 11" | "Xiaomi Redmi Note 10 JE" | "Pixel 6" | "Galaxy S22 Plus" | "Sony Xperia 1 II" | "Sony Xperia Ace II" | "Huawei P30 Lite"; version?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
391
|
+
testName?: string;
|
|
392
|
+
useDom?: boolean;
|
|
393
|
+
viewportSize?: { width: number; height: number; };
|
|
383
394
|
visualGridOptions?: Record<string, any>;
|
|
384
|
-
layoutBreakpoints?: boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: boolean; };
|
|
385
|
-
disableBrowserFetching?: boolean;
|
|
386
395
|
waitBeforeCapture?: number;
|
|
387
|
-
|
|
388
|
-
captureStatusBar?: boolean;
|
|
396
|
+
waitBeforeScreenshots?: number;
|
|
389
397
|
browser?: MaybeArray<(({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { androidDeviceInfo: { deviceName: "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Tab S8" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Galaxy S20 Plus" | "Galaxy S21 Plus" | "Xiaomi Redmi Note 11 Pro" | "Xiaomi Redmi Note 11" | "Xiaomi Redmi Note 10 JE" | "Pixel 6" | "Galaxy S22 Plus" | "Sony Xperia 1 II" | "Sony Xperia Ace II" | "Huawei P30 Lite"; version?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })) | { deviceName: DeviceName; screenOrientation?: ScreenOrientationPlain; name?: string; }>;
|
|
390
398
|
batchId?: string;
|
|
391
399
|
batchName?: string;
|
|
@@ -393,20 +401,13 @@ export type CypressEyesConfig = {
|
|
|
393
401
|
notifyOnCompletion?: boolean;
|
|
394
402
|
batchSequenceName?: string;
|
|
395
403
|
envName?: string;
|
|
396
|
-
accessibilityValidation?: AccessibilityValidation;
|
|
397
|
-
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
398
|
-
ignoreCaret?: boolean;
|
|
399
|
-
ignoreDisplacements?: boolean;
|
|
400
|
-
useDom?: boolean;
|
|
401
|
-
enablePatterns?: boolean;
|
|
402
404
|
scriptHooks?: { beforeCaptureScreenshot: string; };
|
|
403
405
|
};
|
|
404
406
|
export type appliConfFile = {
|
|
405
|
-
|
|
407
|
+
accessibilityValidation?: AccessibilityValidation;
|
|
406
408
|
agentId?: string;
|
|
407
409
|
apiKey?: string;
|
|
408
|
-
|
|
409
|
-
proxy?: { url: string; username?: string; password?: string; };
|
|
410
|
+
appName?: string;
|
|
410
411
|
autProxy?: {
|
|
411
412
|
url: string;
|
|
412
413
|
username?: string;
|
|
@@ -414,15 +415,8 @@ export type appliConfFile = {
|
|
|
414
415
|
mode?: "Allow" | "Block";
|
|
415
416
|
domains?: Array<string>;
|
|
416
417
|
};
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
removeSession?: boolean;
|
|
420
|
-
appName?: string;
|
|
421
|
-
testName?: string;
|
|
422
|
-
displayName?: string;
|
|
423
|
-
viewportSize?: { width: number; height: number; };
|
|
424
|
-
sessionType?: "SEQUENTIAL" | "PROGRESSION";
|
|
425
|
-
properties?: Array<{ name: string; value: string; }>;
|
|
418
|
+
baselineBranchName?: string;
|
|
419
|
+
baselineEnvName?: string;
|
|
426
420
|
batch?: {
|
|
427
421
|
id?: string;
|
|
428
422
|
name?: string;
|
|
@@ -431,6 +425,14 @@ export type appliConfFile = {
|
|
|
431
425
|
notifyOnCompletion?: boolean;
|
|
432
426
|
properties?: Array<{ name: string; value: string; }>;
|
|
433
427
|
};
|
|
428
|
+
branchName?: string;
|
|
429
|
+
browsersInfo?: Array<({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { androidDeviceInfo: { deviceName: "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Tab S8" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Galaxy S20 Plus" | "Galaxy S21 Plus" | "Xiaomi Redmi Note 11 Pro" | "Xiaomi Redmi Note 11" | "Xiaomi Redmi Note 10 JE" | "Pixel 6" | "Galaxy S22 Plus" | "Sony Xperia 1 II" | "Sony Xperia Ace II" | "Huawei P30 Lite"; version?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
430
|
+
captureStatusBar?: boolean;
|
|
431
|
+
compareWithParentBranch?: boolean;
|
|
432
|
+
concurrentSessions?: number;
|
|
433
|
+
connectionTimeout?: number;
|
|
434
|
+
cut?: { top: number; right: number; bottom: number; left: number; } | { x: number; y: number; width: number; height: number; };
|
|
435
|
+
debugScreenshots?: { save: boolean; path?: string; prefix?: string; };
|
|
434
436
|
defaultMatchSettings?: {
|
|
435
437
|
exact?: { minDiffIntensity: number; minDiffWidth: number; minDiffHeight: number; matchThreshold: number; };
|
|
436
438
|
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
@@ -492,44 +494,51 @@ export type appliConfFile = {
|
|
|
492
494
|
}; type?: "IgnoreContrast" | "RegularText" | "LargeText" | "BoldText" | "GraphicalObject"; }>;
|
|
493
495
|
accessibilitySettings?: AccessibilityValidation;
|
|
494
496
|
};
|
|
495
|
-
hostApp?: string;
|
|
496
|
-
hostOS?: string;
|
|
497
|
-
hostAppInfo?: string;
|
|
498
|
-
hostOSInfo?: string;
|
|
499
497
|
deviceInfo?: string;
|
|
500
|
-
|
|
498
|
+
disableBrowserFetching?: boolean;
|
|
499
|
+
disableNMLUrlCache?: boolean;
|
|
500
|
+
displayName?: string;
|
|
501
|
+
dontCloseBatches?: boolean;
|
|
502
|
+
enablePatterns?: boolean;
|
|
501
503
|
environmentName?: string;
|
|
502
|
-
|
|
503
|
-
parentBranchName?: string;
|
|
504
|
+
forceFullPageScreenshot?: boolean;
|
|
504
505
|
gitMergeBaseTimestamp?: string;
|
|
505
|
-
|
|
506
|
-
|
|
506
|
+
hideCaret?: boolean;
|
|
507
|
+
hideScrollbars?: boolean;
|
|
508
|
+
hostApp?: string;
|
|
509
|
+
hostAppInfo?: string;
|
|
510
|
+
hostOS?: string;
|
|
511
|
+
hostOSInfo?: string;
|
|
507
512
|
ignoreBaseline?: boolean;
|
|
513
|
+
ignoreCaret?: boolean;
|
|
514
|
+
ignoreDisplacements?: boolean;
|
|
508
515
|
ignoreGitMergeBase?: boolean;
|
|
516
|
+
isDisabled?: boolean;
|
|
517
|
+
layoutBreakpoints?: boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: boolean; };
|
|
518
|
+
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
519
|
+
matchTimeout?: number;
|
|
520
|
+
mobileOptions?: { keepNavigationBar?: boolean; };
|
|
521
|
+
parentBranchName?: string;
|
|
522
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
523
|
+
proxy?: { url: string; username?: string; password?: string; };
|
|
524
|
+
removeSession?: boolean;
|
|
525
|
+
rotation?: 0 | 270 | -270 | 180 | -180 | 90 | -90;
|
|
526
|
+
saveDiffs?: boolean;
|
|
509
527
|
saveFailedTests?: boolean;
|
|
510
528
|
saveNewTests?: boolean;
|
|
511
|
-
|
|
512
|
-
|
|
529
|
+
scaleRatio?: number;
|
|
530
|
+
scrollRootElement?: Element | EyesSelector<Selector>;
|
|
513
531
|
sendDom?: boolean;
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
waitBeforeScreenshots?: number;
|
|
532
|
+
serverUrl?: string;
|
|
533
|
+
sessionType?: "SEQUENTIAL" | "PROGRESSION";
|
|
517
534
|
stitchMode?: "Scroll" | "CSS" | "Resize";
|
|
518
|
-
hideScrollbars?: boolean;
|
|
519
|
-
hideCaret?: boolean;
|
|
520
535
|
stitchOverlap?: number;
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
scaleRatio?: number;
|
|
525
|
-
concurrentSessions?: number;
|
|
526
|
-
browsersInfo?: Array<({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { androidDeviceInfo: { deviceName: "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Tab S8" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Galaxy S20 Plus" | "Galaxy S21 Plus" | "Xiaomi Redmi Note 11 Pro" | "Xiaomi Redmi Note 11" | "Xiaomi Redmi Note 10 JE" | "Pixel 6" | "Galaxy S22 Plus" | "Sony Xperia 1 II" | "Sony Xperia Ace II" | "Huawei P30 Lite"; version?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
536
|
+
testName?: string;
|
|
537
|
+
useDom?: boolean;
|
|
538
|
+
viewportSize?: { width: number; height: number; };
|
|
527
539
|
visualGridOptions?: Record<string, any>;
|
|
528
|
-
layoutBreakpoints?: boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: boolean; };
|
|
529
|
-
disableBrowserFetching?: boolean;
|
|
530
540
|
waitBeforeCapture?: number;
|
|
531
|
-
|
|
532
|
-
captureStatusBar?: boolean;
|
|
541
|
+
waitBeforeScreenshots?: number;
|
|
533
542
|
browser?: MaybeArray<(({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { androidDeviceInfo: { deviceName: "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Tab S8" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Galaxy S20 Plus" | "Galaxy S21 Plus" | "Xiaomi Redmi Note 11 Pro" | "Xiaomi Redmi Note 11" | "Xiaomi Redmi Note 10 JE" | "Pixel 6" | "Galaxy S22 Plus" | "Sony Xperia 1 II" | "Sony Xperia Ace II" | "Huawei P30 Lite"; version?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })) | { deviceName: DeviceName; screenOrientation?: ScreenOrientationPlain; name?: string; }>;
|
|
534
543
|
batchId?: string;
|
|
535
544
|
batchName?: string;
|
|
@@ -537,12 +546,6 @@ export type appliConfFile = {
|
|
|
537
546
|
notifyOnCompletion?: boolean;
|
|
538
547
|
batchSequenceName?: string;
|
|
539
548
|
envName?: string;
|
|
540
|
-
accessibilityValidation?: AccessibilityValidation;
|
|
541
|
-
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
542
|
-
ignoreCaret?: boolean;
|
|
543
|
-
ignoreDisplacements?: boolean;
|
|
544
|
-
useDom?: boolean;
|
|
545
|
-
enablePatterns?: boolean;
|
|
546
549
|
scriptHooks?: { beforeCaptureScreenshot: string; };
|
|
547
550
|
failCypressAfterAllSpecs?: boolean;
|
|
548
551
|
tapDirPath?: string;
|