@applitools/eyes-cypress 3.45.2 → 3.46.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 +37 -0
- package/package.json +5 -5
- package/types/expose.d.ts +1288 -226
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; };
|
|
@@ -255,7 +256,7 @@ export type CypressCheckSettings = {
|
|
|
255
256
|
floating?: FloatingRegion;
|
|
256
257
|
accessibility?: accessibilityRegion;
|
|
257
258
|
scriptHooks?: { beforeCaptureScreenshot: string; };
|
|
258
|
-
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
|
+
browser?: MaybeArray<({ hostOS?: string; hostOSInfo?: string; hostApp?: string; hostAppInfo?: string; } & ({ 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
|
debugScreenshots?: { save: boolean; path?: string; prefix?: string; };
|
|
@@ -379,14 +380,14 @@ export type CypressEyesConfig = {
|
|
|
379
380
|
rotation?: 0 | 270 | -270 | 180 | -180 | 90 | -90;
|
|
380
381
|
scaleRatio?: number;
|
|
381
382
|
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"; }; })>;
|
|
383
|
+
browsersInfo?: Array<{ hostOS?: string; hostOSInfo?: string; hostApp?: string; hostAppInfo?: string; } & ({ 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"; }; })>;
|
|
383
384
|
visualGridOptions?: Record<string, any>;
|
|
384
385
|
layoutBreakpoints?: boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: boolean; };
|
|
385
386
|
disableBrowserFetching?: boolean;
|
|
386
387
|
waitBeforeCapture?: number;
|
|
387
388
|
disableNMLUrlCache?: boolean;
|
|
388
389
|
captureStatusBar?: boolean;
|
|
389
|
-
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
|
+
browser?: MaybeArray<({ hostOS?: string; hostOSInfo?: string; hostApp?: string; hostAppInfo?: string; } & ({ 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
391
|
batchId?: string;
|
|
391
392
|
batchName?: string;
|
|
392
393
|
batchSequence?: string;
|
|
@@ -523,14 +524,14 @@ export type appliConfFile = {
|
|
|
523
524
|
rotation?: 0 | 270 | -270 | 180 | -180 | 90 | -90;
|
|
524
525
|
scaleRatio?: number;
|
|
525
526
|
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"; }; })>;
|
|
527
|
+
browsersInfo?: Array<{ hostOS?: string; hostOSInfo?: string; hostApp?: string; hostAppInfo?: string; } & ({ 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"; }; })>;
|
|
527
528
|
visualGridOptions?: Record<string, any>;
|
|
528
529
|
layoutBreakpoints?: boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: boolean; };
|
|
529
530
|
disableBrowserFetching?: boolean;
|
|
530
531
|
waitBeforeCapture?: number;
|
|
531
532
|
disableNMLUrlCache?: boolean;
|
|
532
533
|
captureStatusBar?: boolean;
|
|
533
|
-
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
|
+
browser?: MaybeArray<({ hostOS?: string; hostOSInfo?: string; hostApp?: string; hostAppInfo?: string; } & ({ 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
535
|
batchId?: string;
|
|
535
536
|
batchName?: string;
|
|
536
537
|
batchSequence?: string;
|
|
@@ -551,81 +552,524 @@ export type appliConfFile = {
|
|
|
551
552
|
shouldDoPostSpecTasks?: boolean;
|
|
552
553
|
isComponentTest?: boolean;
|
|
553
554
|
};
|
|
554
|
-
export type CypressTestResultsSummary = { getAllResults(): Array<{
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
setName(_name: string): void;
|
|
559
|
-
getSecretToken(): string;
|
|
560
|
-
setSecretToken(_secretToken: string): void;
|
|
561
|
-
getStatus(): TestResultsStatus;
|
|
562
|
-
setStatus(_status: TestResultsStatus): void;
|
|
563
|
-
getAppName(): string;
|
|
564
|
-
setAppName(_appName: string): void;
|
|
565
|
-
getBatchName(): string;
|
|
566
|
-
setBatchName(_batchName: string): void;
|
|
567
|
-
getBatchId(): string;
|
|
568
|
-
setBatchId(_batchId: string): void;
|
|
569
|
-
getBranchName(): string;
|
|
570
|
-
setBranchName(_branchName: string): void;
|
|
571
|
-
getHostOS(): string;
|
|
572
|
-
setHostOS(_hostOS: string): void;
|
|
573
|
-
getHostApp(): string;
|
|
574
|
-
setHostApp(_hostApp: string): void;
|
|
575
|
-
getHostDisplaySize(): { getWidth(): number; setWidth(width: number): void; getHeight(): number; setHeight(height: number): void; };
|
|
576
|
-
setHostDisplaySize(_hostDisplaySize: { width: number; height: number; }): void;
|
|
577
|
-
getAccessibilityStatus(): { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
578
|
-
setAccessibilityStatus(_accessibilityStatus: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; }): void;
|
|
579
|
-
getStartedAt(): Date;
|
|
580
|
-
setStartedAt(_startedAt: string | Date): void;
|
|
581
|
-
getDuration(): number;
|
|
582
|
-
setDuration(_duration: number): void;
|
|
583
|
-
getIsNew(): boolean;
|
|
584
|
-
setIsNew(_isNew: boolean): void;
|
|
585
|
-
getIsDifferent(): boolean;
|
|
586
|
-
setIsDifferent(_isDifferent: boolean): void;
|
|
587
|
-
getIsAborted(): boolean;
|
|
588
|
-
setIsAborted(_isAborted: boolean): void;
|
|
589
|
-
getAppUrls(): { getBatch(): string; setBatch(batch: string): void; getSession(): string; setSession(session: string): void; };
|
|
590
|
-
setAppUrls(_appUrls: { readonly batch: string; readonly session: string; }): void;
|
|
591
|
-
getApiUrls(): { getBatch(): string; setBatch(batch: string): void; getSession(): string; setSession(session: string): void; };
|
|
592
|
-
setApiUrls(_apiUrls: { readonly batch: string; readonly session: string; }): void;
|
|
593
|
-
getStepsInfo(): Array<{
|
|
555
|
+
export type CypressTestResultsSummary = { getAllResults(): Array<{
|
|
556
|
+
getTestResults(): {
|
|
557
|
+
getId(): string;
|
|
558
|
+
setId(_id: string): void;
|
|
594
559
|
getName(): string;
|
|
595
|
-
setName(
|
|
560
|
+
setName(_name: string): void;
|
|
561
|
+
getSecretToken(): string;
|
|
562
|
+
setSecretToken(_secretToken: string): void;
|
|
563
|
+
getStatus(): TestResultsStatus;
|
|
564
|
+
setStatus(_status: TestResultsStatus): void;
|
|
565
|
+
getAppName(): string;
|
|
566
|
+
setAppName(_appName: string): void;
|
|
567
|
+
getBatchName(): string;
|
|
568
|
+
setBatchName(_batchName: string): void;
|
|
569
|
+
getBatchId(): string;
|
|
570
|
+
setBatchId(_batchId: string): void;
|
|
571
|
+
getBranchName(): string;
|
|
572
|
+
setBranchName(_branchName: string): void;
|
|
573
|
+
getHostOS(): string;
|
|
574
|
+
setHostOS(_hostOS: string): void;
|
|
575
|
+
getHostApp(): string;
|
|
576
|
+
setHostApp(_hostApp: string): void;
|
|
577
|
+
getHostDisplaySize(): {
|
|
578
|
+
getWidth(): number;
|
|
579
|
+
setWidth(width: number): void;
|
|
580
|
+
getHeight(): number;
|
|
581
|
+
setHeight(height: number): void;
|
|
582
|
+
toObject(): { width: number; height: number; };
|
|
583
|
+
toJSON(): { width: number; height: number; };
|
|
584
|
+
toString(): string;
|
|
585
|
+
};
|
|
586
|
+
setHostDisplaySize(_hostDisplaySize: { width: number; height: number; }): void;
|
|
587
|
+
getAccessibilityStatus(): { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
588
|
+
setAccessibilityStatus(_accessibilityStatus: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; }): void;
|
|
589
|
+
getStartedAt(): Date;
|
|
590
|
+
setStartedAt(_startedAt: string | Date): void;
|
|
591
|
+
getDuration(): number;
|
|
592
|
+
setDuration(_duration: number): void;
|
|
593
|
+
getIsNew(): boolean;
|
|
594
|
+
setIsNew(_isNew: boolean): void;
|
|
596
595
|
getIsDifferent(): boolean;
|
|
597
|
-
setIsDifferent(
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
596
|
+
setIsDifferent(_isDifferent: boolean): void;
|
|
597
|
+
getIsAborted(): boolean;
|
|
598
|
+
setIsAborted(_isAborted: boolean): void;
|
|
599
|
+
getAppUrls(): {
|
|
600
|
+
getBatch(): string;
|
|
601
|
+
setBatch(batch: string): void;
|
|
602
|
+
getSession(): string;
|
|
603
|
+
setSession(session: string): void;
|
|
604
|
+
toObject(): { readonly batch: string; readonly session: string; };
|
|
605
|
+
toJSON(): { readonly batch: string; readonly session: string; };
|
|
606
|
+
toString(): string;
|
|
607
|
+
};
|
|
608
|
+
setAppUrls(_appUrls: { readonly batch: string; readonly session: string; }): void;
|
|
604
609
|
getApiUrls(): {
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
setCheckpointImageThumbnail(checkpointImageThumbnail: string): void;
|
|
613
|
-
getDiffImage(): string;
|
|
614
|
-
setDiffImage(diffImage: string): void;
|
|
615
|
-
getSideBySideImage(): string;
|
|
610
|
+
getBatch(): string;
|
|
611
|
+
setBatch(batch: string): void;
|
|
612
|
+
getSession(): string;
|
|
613
|
+
setSession(session: string): void;
|
|
614
|
+
toObject(): { readonly batch: string; readonly session: string; };
|
|
615
|
+
toJSON(): { readonly batch: string; readonly session: string; };
|
|
616
|
+
toString(): string;
|
|
616
617
|
};
|
|
617
|
-
setApiUrls(
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
618
|
+
setApiUrls(_apiUrls: { readonly batch: string; readonly session: string; }): void;
|
|
619
|
+
getStepsInfo(): Array<{
|
|
620
|
+
getName(): string;
|
|
621
|
+
setName(value: string): void;
|
|
622
|
+
getIsDifferent(): boolean;
|
|
623
|
+
setIsDifferent(value: boolean): void;
|
|
624
|
+
getHasBaselineImage(): boolean;
|
|
625
|
+
setHasBaselineImage(value: boolean): void;
|
|
626
|
+
getHasCurrentImage(): boolean;
|
|
627
|
+
setHasCurrentImage(hasCurrentImage: boolean): void;
|
|
628
|
+
getAppUrls(): {
|
|
629
|
+
getStep(): string;
|
|
630
|
+
setStep(step: string): void;
|
|
631
|
+
getStepEditor(): string;
|
|
632
|
+
setStepEditor(stepEditor: string): void;
|
|
633
|
+
toObject(): { readonly step: string; readonly stepEditor: string; };
|
|
634
|
+
toJSON(): { readonly step: string; readonly stepEditor: string; };
|
|
635
|
+
toString(): string;
|
|
636
|
+
};
|
|
637
|
+
setAppUrls(appUrls: { readonly step: string; readonly stepEditor: string; }): void;
|
|
638
|
+
getApiUrls(): {
|
|
639
|
+
getBaselineImage(): string;
|
|
640
|
+
setBaselineImage(setBaselineImage: string): void;
|
|
641
|
+
getCurrentImage(): string;
|
|
642
|
+
setCurrentImage(currentImage: string): void;
|
|
643
|
+
getCheckpointImage(): string;
|
|
644
|
+
setCheckpointImage(checkpointImage: string): void;
|
|
645
|
+
getCheckpointImageThumbnail(): string;
|
|
646
|
+
setCheckpointImageThumbnail(checkpointImageThumbnail: string): void;
|
|
647
|
+
getDiffImage(): string;
|
|
648
|
+
setDiffImage(diffImage: string): void;
|
|
649
|
+
getSideBySideImage(): string;
|
|
650
|
+
toObject(): {
|
|
651
|
+
readonly baselineImage: string;
|
|
652
|
+
readonly currentImage: string;
|
|
653
|
+
readonly checkpointImage: string;
|
|
654
|
+
readonly checkpointImageThumbnail: string;
|
|
655
|
+
readonly diffImage: string;
|
|
656
|
+
readonly sideBySideImage: string;
|
|
657
|
+
};
|
|
658
|
+
toJSON(): {
|
|
659
|
+
readonly baselineImage: string;
|
|
660
|
+
readonly currentImage: string;
|
|
661
|
+
readonly checkpointImage: string;
|
|
662
|
+
readonly checkpointImageThumbnail: string;
|
|
663
|
+
readonly diffImage: string;
|
|
664
|
+
readonly sideBySideImage: string;
|
|
665
|
+
};
|
|
666
|
+
toString(): string;
|
|
667
|
+
};
|
|
668
|
+
setApiUrls(apiUrls: {
|
|
669
|
+
readonly baselineImage: string;
|
|
670
|
+
readonly currentImage: string;
|
|
671
|
+
readonly checkpointImage: string;
|
|
672
|
+
readonly checkpointImageThumbnail: string;
|
|
673
|
+
readonly diffImage: string;
|
|
674
|
+
readonly sideBySideImage: string;
|
|
675
|
+
}): void;
|
|
676
|
+
getRenderId(): Array<string>;
|
|
677
|
+
setRenderId(renderId: Array<string>): void;
|
|
678
|
+
toObject(): {
|
|
679
|
+
readonly name: string;
|
|
680
|
+
readonly isDifferent: boolean;
|
|
681
|
+
readonly hasBaselineImage: boolean;
|
|
682
|
+
readonly hasCurrentImage: boolean;
|
|
683
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
684
|
+
readonly apiUrls: {
|
|
685
|
+
readonly baselineImage: string;
|
|
686
|
+
readonly currentImage: string;
|
|
687
|
+
readonly checkpointImage: string;
|
|
688
|
+
readonly checkpointImageThumbnail: string;
|
|
689
|
+
readonly diffImage: string;
|
|
690
|
+
readonly sideBySideImage: string;
|
|
691
|
+
};
|
|
692
|
+
readonly renderId: Array<string>;
|
|
693
|
+
};
|
|
694
|
+
toJSON(): {
|
|
695
|
+
readonly name: string;
|
|
696
|
+
readonly isDifferent: boolean;
|
|
697
|
+
readonly hasBaselineImage: boolean;
|
|
698
|
+
readonly hasCurrentImage: boolean;
|
|
699
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
700
|
+
readonly apiUrls: {
|
|
701
|
+
readonly baselineImage: string;
|
|
702
|
+
readonly currentImage: string;
|
|
703
|
+
readonly checkpointImage: string;
|
|
704
|
+
readonly checkpointImageThumbnail: string;
|
|
705
|
+
readonly diffImage: string;
|
|
706
|
+
readonly sideBySideImage: string;
|
|
707
|
+
};
|
|
708
|
+
readonly renderId: Array<string>;
|
|
709
|
+
};
|
|
710
|
+
toString(): string;
|
|
711
|
+
}>;
|
|
712
|
+
setStepsInfo(_stepInfo: Array<{
|
|
713
|
+
readonly name: string;
|
|
714
|
+
readonly isDifferent: boolean;
|
|
715
|
+
readonly hasBaselineImage: boolean;
|
|
716
|
+
readonly hasCurrentImage: boolean;
|
|
717
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
718
|
+
readonly apiUrls: {
|
|
719
|
+
readonly baselineImage: string;
|
|
720
|
+
readonly currentImage: string;
|
|
721
|
+
readonly checkpointImage: string;
|
|
722
|
+
readonly checkpointImageThumbnail: string;
|
|
723
|
+
readonly diffImage: string;
|
|
724
|
+
readonly sideBySideImage: string;
|
|
725
|
+
};
|
|
726
|
+
readonly renderId: Array<string>;
|
|
727
|
+
}>): void;
|
|
728
|
+
getSteps(): number;
|
|
729
|
+
setSteps(_steps: number): void;
|
|
730
|
+
getMatches(): number;
|
|
731
|
+
setMatches(_matches: number): void;
|
|
732
|
+
getMismatches(): number;
|
|
733
|
+
setMismatches(_mismatches: number): void;
|
|
734
|
+
getMissing(): number;
|
|
735
|
+
setMissing(_missing: number): void;
|
|
736
|
+
getExactMatches(): number;
|
|
737
|
+
setExactMatches(_exactMatches: number): void;
|
|
738
|
+
getStrictMatches(): number;
|
|
739
|
+
setStrictMatches(_strictMatches: number): void;
|
|
740
|
+
getContentMatches(): number;
|
|
741
|
+
setContentMatches(_contentMatches: number): void;
|
|
742
|
+
getLayoutMatches(): number;
|
|
743
|
+
setLayoutMatches(_layoutMatches: number): void;
|
|
744
|
+
getNoneMatches(): number;
|
|
745
|
+
setNoneMatches(_noneMatches: number): void;
|
|
746
|
+
getUrl(): string;
|
|
747
|
+
setUrl(_url: string): void;
|
|
748
|
+
isPassed(): boolean;
|
|
749
|
+
delete(): Promise<void>;
|
|
750
|
+
deleteSession(): Promise<void>;
|
|
751
|
+
toObject(): {
|
|
752
|
+
readonly id?: string;
|
|
753
|
+
readonly name?: string;
|
|
754
|
+
readonly secretToken?: string;
|
|
755
|
+
readonly status?: "Passed" | "Failed" | "Unresolved";
|
|
756
|
+
readonly appName?: string;
|
|
757
|
+
readonly batchId?: string;
|
|
758
|
+
readonly batchName?: string;
|
|
759
|
+
readonly branchName?: string;
|
|
760
|
+
readonly hostOS?: string;
|
|
761
|
+
readonly hostApp?: string;
|
|
762
|
+
readonly hostDisplaySize?: { width: number; height: number; };
|
|
763
|
+
readonly accessibilityStatus?: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
764
|
+
readonly startedAt?: string;
|
|
765
|
+
readonly duration?: number;
|
|
766
|
+
readonly isNew?: boolean;
|
|
767
|
+
readonly isDifferent?: boolean;
|
|
768
|
+
readonly isAborted?: boolean;
|
|
769
|
+
readonly appUrls?: { readonly batch: string; readonly session: string; };
|
|
770
|
+
readonly apiUrls?: { readonly batch: string; readonly session: string; };
|
|
771
|
+
readonly stepsInfo?: Array<{
|
|
772
|
+
readonly name: string;
|
|
773
|
+
readonly isDifferent: boolean;
|
|
774
|
+
readonly hasBaselineImage: boolean;
|
|
775
|
+
readonly hasCurrentImage: boolean;
|
|
776
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
777
|
+
readonly apiUrls: {
|
|
778
|
+
readonly baselineImage: string;
|
|
779
|
+
readonly currentImage: string;
|
|
780
|
+
readonly checkpointImage: string;
|
|
781
|
+
readonly checkpointImageThumbnail: string;
|
|
782
|
+
readonly diffImage: string;
|
|
783
|
+
readonly sideBySideImage: string;
|
|
784
|
+
};
|
|
785
|
+
readonly renderId: Array<string>;
|
|
786
|
+
}>;
|
|
787
|
+
readonly steps?: number;
|
|
788
|
+
readonly matches?: number;
|
|
789
|
+
readonly mismatches?: number;
|
|
790
|
+
readonly missing?: number;
|
|
791
|
+
readonly exactMatches?: number;
|
|
792
|
+
readonly strictMatches?: number;
|
|
793
|
+
readonly contentMatches?: number;
|
|
794
|
+
readonly layoutMatches?: number;
|
|
795
|
+
readonly noneMatches?: number;
|
|
796
|
+
readonly url?: string;
|
|
797
|
+
readonly server?: { eyesServerUrl: string; apiKey: string; proxy?: { url: string; username?: string; password?: string; }; };
|
|
798
|
+
readonly keepIfDuplicate?: boolean;
|
|
799
|
+
};
|
|
800
|
+
toJSON(): {
|
|
801
|
+
readonly id: string;
|
|
802
|
+
readonly baselineId: string;
|
|
803
|
+
readonly userTestId: string;
|
|
804
|
+
readonly batchId: string;
|
|
805
|
+
readonly eyesServer: {
|
|
806
|
+
eyesServerUrl: string;
|
|
807
|
+
apiKey: string;
|
|
808
|
+
agentId?: string;
|
|
809
|
+
proxy?: { url: string; username?: string; password?: string; };
|
|
810
|
+
useDnsCache?: boolean;
|
|
811
|
+
};
|
|
812
|
+
readonly secretToken: string;
|
|
813
|
+
readonly status: "Passed" | "Failed" | "Unresolved";
|
|
814
|
+
readonly name: string;
|
|
815
|
+
readonly appName: string;
|
|
816
|
+
readonly batchName: string;
|
|
817
|
+
readonly branchName: string;
|
|
818
|
+
readonly hostOS: string;
|
|
819
|
+
readonly hostApp: string;
|
|
820
|
+
readonly hostDisplaySize: { width: number; height: number; };
|
|
821
|
+
readonly accessibilityStatus: { readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; readonly status: "Passed" | "Failed"; };
|
|
822
|
+
readonly initializedAt: string;
|
|
823
|
+
readonly startedAt: string;
|
|
824
|
+
readonly duration: number;
|
|
825
|
+
readonly isNew: boolean;
|
|
826
|
+
readonly isDifferent: boolean;
|
|
827
|
+
readonly isAborted: boolean;
|
|
828
|
+
readonly keepIfDuplicate: boolean;
|
|
829
|
+
readonly appUrls: { readonly batch: string; readonly session: string; };
|
|
830
|
+
readonly apiUrls: { readonly batch: string; readonly session: string; };
|
|
831
|
+
readonly url: string;
|
|
832
|
+
readonly stepsInfo: Array<{
|
|
833
|
+
readonly name: string;
|
|
834
|
+
readonly isDifferent: boolean;
|
|
835
|
+
readonly hasBaselineImage: boolean;
|
|
836
|
+
readonly hasCurrentImage: boolean;
|
|
837
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
838
|
+
readonly apiUrls: {
|
|
839
|
+
readonly baselineImage: string;
|
|
840
|
+
readonly currentImage: string;
|
|
841
|
+
readonly checkpointImage: string;
|
|
842
|
+
readonly checkpointImageThumbnail: string;
|
|
843
|
+
readonly diffImage: string;
|
|
844
|
+
readonly sideBySideImage: string;
|
|
845
|
+
};
|
|
846
|
+
readonly renderId: Array<string>;
|
|
847
|
+
}>;
|
|
848
|
+
readonly steps: number;
|
|
849
|
+
readonly matches: number;
|
|
850
|
+
readonly mismatches: number;
|
|
851
|
+
readonly missing: number;
|
|
852
|
+
readonly exactMatches: number;
|
|
853
|
+
readonly strictMatches: number;
|
|
854
|
+
readonly contentMatches: number;
|
|
855
|
+
readonly layoutMatches: number;
|
|
856
|
+
readonly noneMatches: number;
|
|
857
|
+
readonly reason?: unknown;
|
|
858
|
+
readonly environment: {
|
|
859
|
+
environmentId?: string;
|
|
860
|
+
os?: string;
|
|
861
|
+
displayOs?: string;
|
|
862
|
+
hostingApp?: string;
|
|
863
|
+
displayHostingApp?: string;
|
|
864
|
+
deviceName?: string;
|
|
865
|
+
viewportSize?: { width: number; height: number; };
|
|
866
|
+
userAgent?: string;
|
|
867
|
+
ecSessionId?: string;
|
|
868
|
+
rawEnvironment?: Record<string, any>;
|
|
869
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
870
|
+
requested?: ({ name?: string; width: number; height: number; } | { chromeEmulationInfo: { deviceName: string; screenOrientation?: string; }; } | { iosDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; } | { androidDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; }) & {
|
|
871
|
+
environmentId?: string;
|
|
872
|
+
os?: string;
|
|
873
|
+
displayOs?: string;
|
|
874
|
+
hostingApp?: string;
|
|
875
|
+
displayHostingApp?: string;
|
|
876
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
877
|
+
fallbackBaselineId?: string;
|
|
878
|
+
};
|
|
879
|
+
fallbackBaselineId?: string;
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
toString(): string;
|
|
883
|
+
};
|
|
884
|
+
getException(): Error;
|
|
885
|
+
getBrowserInfo(): { 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; }; } | { 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; };
|
|
886
|
+
toObject(): { readonly exception?: Error; readonly testResults?: {
|
|
887
|
+
readonly id?: string;
|
|
888
|
+
readonly name?: string;
|
|
889
|
+
readonly secretToken?: string;
|
|
890
|
+
readonly status?: "Passed" | "Failed" | "Unresolved";
|
|
891
|
+
readonly appName?: string;
|
|
892
|
+
readonly batchId?: string;
|
|
893
|
+
readonly batchName?: string;
|
|
894
|
+
readonly branchName?: string;
|
|
895
|
+
readonly hostOS?: string;
|
|
896
|
+
readonly hostApp?: string;
|
|
897
|
+
readonly hostDisplaySize?: { width: number; height: number; };
|
|
898
|
+
readonly accessibilityStatus?: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
899
|
+
readonly startedAt?: string;
|
|
900
|
+
readonly duration?: number;
|
|
901
|
+
readonly isNew?: boolean;
|
|
902
|
+
readonly isDifferent?: boolean;
|
|
903
|
+
readonly isAborted?: boolean;
|
|
904
|
+
readonly appUrls?: { readonly batch: string; readonly session: string; };
|
|
905
|
+
readonly apiUrls?: { readonly batch: string; readonly session: string; };
|
|
906
|
+
readonly stepsInfo?: Array<{
|
|
907
|
+
readonly name: string;
|
|
908
|
+
readonly isDifferent: boolean;
|
|
909
|
+
readonly hasBaselineImage: boolean;
|
|
910
|
+
readonly hasCurrentImage: boolean;
|
|
911
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
912
|
+
readonly apiUrls: {
|
|
913
|
+
readonly baselineImage: string;
|
|
914
|
+
readonly currentImage: string;
|
|
915
|
+
readonly checkpointImage: string;
|
|
916
|
+
readonly checkpointImageThumbnail: string;
|
|
917
|
+
readonly diffImage: string;
|
|
918
|
+
readonly sideBySideImage: string;
|
|
919
|
+
};
|
|
920
|
+
readonly renderId: Array<string>;
|
|
921
|
+
}>;
|
|
922
|
+
readonly steps?: number;
|
|
923
|
+
readonly matches?: number;
|
|
924
|
+
readonly mismatches?: number;
|
|
925
|
+
readonly missing?: number;
|
|
926
|
+
readonly exactMatches?: number;
|
|
927
|
+
readonly strictMatches?: number;
|
|
928
|
+
readonly contentMatches?: number;
|
|
929
|
+
readonly layoutMatches?: number;
|
|
930
|
+
readonly noneMatches?: number;
|
|
931
|
+
readonly url?: string;
|
|
932
|
+
readonly server?: { eyesServerUrl: string; apiKey: string; proxy?: { url: string; username?: string; password?: string; }; };
|
|
933
|
+
readonly keepIfDuplicate?: boolean;
|
|
934
|
+
}; readonly browserInfo?: { 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; }; } | { 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; }; };
|
|
935
|
+
toJSON(): { readonly error?: unknown; readonly result?: {
|
|
936
|
+
readonly id: string;
|
|
937
|
+
readonly baselineId: string;
|
|
938
|
+
readonly userTestId: string;
|
|
939
|
+
readonly batchId: string;
|
|
940
|
+
readonly eyesServer: {
|
|
941
|
+
eyesServerUrl: string;
|
|
942
|
+
apiKey: string;
|
|
943
|
+
agentId?: string;
|
|
944
|
+
proxy?: { url: string; username?: string; password?: string; };
|
|
945
|
+
useDnsCache?: boolean;
|
|
946
|
+
};
|
|
947
|
+
readonly secretToken: string;
|
|
948
|
+
readonly status: "Passed" | "Failed" | "Unresolved";
|
|
949
|
+
readonly name: string;
|
|
950
|
+
readonly appName: string;
|
|
951
|
+
readonly batchName: string;
|
|
952
|
+
readonly branchName: string;
|
|
953
|
+
readonly hostOS: string;
|
|
954
|
+
readonly hostApp: string;
|
|
955
|
+
readonly hostDisplaySize: { width: number; height: number; };
|
|
956
|
+
readonly accessibilityStatus: { readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; readonly status: "Passed" | "Failed"; };
|
|
957
|
+
readonly initializedAt: string;
|
|
958
|
+
readonly startedAt: string;
|
|
959
|
+
readonly duration: number;
|
|
960
|
+
readonly isNew: boolean;
|
|
961
|
+
readonly isDifferent: boolean;
|
|
962
|
+
readonly isAborted: boolean;
|
|
963
|
+
readonly keepIfDuplicate: boolean;
|
|
964
|
+
readonly appUrls: { readonly batch: string; readonly session: string; };
|
|
965
|
+
readonly apiUrls: { readonly batch: string; readonly session: string; };
|
|
966
|
+
readonly url: string;
|
|
967
|
+
readonly stepsInfo: Array<{
|
|
968
|
+
readonly name: string;
|
|
969
|
+
readonly isDifferent: boolean;
|
|
970
|
+
readonly hasBaselineImage: boolean;
|
|
971
|
+
readonly hasCurrentImage: boolean;
|
|
972
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
973
|
+
readonly apiUrls: {
|
|
974
|
+
readonly baselineImage: string;
|
|
975
|
+
readonly currentImage: string;
|
|
976
|
+
readonly checkpointImage: string;
|
|
977
|
+
readonly checkpointImageThumbnail: string;
|
|
978
|
+
readonly diffImage: string;
|
|
979
|
+
readonly sideBySideImage: string;
|
|
980
|
+
};
|
|
981
|
+
readonly renderId: Array<string>;
|
|
982
|
+
}>;
|
|
983
|
+
readonly steps: number;
|
|
984
|
+
readonly matches: number;
|
|
985
|
+
readonly mismatches: number;
|
|
986
|
+
readonly missing: number;
|
|
987
|
+
readonly exactMatches: number;
|
|
988
|
+
readonly strictMatches: number;
|
|
989
|
+
readonly contentMatches: number;
|
|
990
|
+
readonly layoutMatches: number;
|
|
991
|
+
readonly noneMatches: number;
|
|
992
|
+
readonly reason?: unknown;
|
|
993
|
+
readonly environment: {
|
|
994
|
+
environmentId?: string;
|
|
995
|
+
os?: string;
|
|
996
|
+
displayOs?: string;
|
|
997
|
+
hostingApp?: string;
|
|
998
|
+
displayHostingApp?: string;
|
|
999
|
+
deviceName?: string;
|
|
1000
|
+
viewportSize?: { width: number; height: number; };
|
|
1001
|
+
userAgent?: string;
|
|
1002
|
+
ecSessionId?: string;
|
|
1003
|
+
rawEnvironment?: Record<string, any>;
|
|
1004
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1005
|
+
requested?: ({ name?: string; width: number; height: number; } | { chromeEmulationInfo: { deviceName: string; screenOrientation?: string; }; } | { iosDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; } | { androidDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; }) & {
|
|
1006
|
+
environmentId?: string;
|
|
1007
|
+
os?: string;
|
|
1008
|
+
displayOs?: string;
|
|
1009
|
+
hostingApp?: string;
|
|
1010
|
+
displayHostingApp?: string;
|
|
1011
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1012
|
+
fallbackBaselineId?: string;
|
|
1013
|
+
};
|
|
1014
|
+
fallbackBaselineId?: string;
|
|
1015
|
+
};
|
|
1016
|
+
}; readonly environment: {
|
|
1017
|
+
environmentId?: string;
|
|
1018
|
+
os?: string;
|
|
1019
|
+
displayOs?: string;
|
|
1020
|
+
hostingApp?: string;
|
|
1021
|
+
displayHostingApp?: string;
|
|
1022
|
+
deviceName?: string;
|
|
1023
|
+
viewportSize?: { width: number; height: number; };
|
|
1024
|
+
userAgent?: string;
|
|
1025
|
+
ecSessionId?: string;
|
|
1026
|
+
rawEnvironment?: Record<string, any>;
|
|
1027
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1028
|
+
requested?: ({ name?: string; width: number; height: number; } | { chromeEmulationInfo: { deviceName: string; screenOrientation?: string; }; } | { iosDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; } | { androidDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; }) & {
|
|
1029
|
+
environmentId?: string;
|
|
1030
|
+
os?: string;
|
|
1031
|
+
displayOs?: string;
|
|
1032
|
+
hostingApp?: string;
|
|
1033
|
+
displayHostingApp?: string;
|
|
1034
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1035
|
+
fallbackBaselineId?: string;
|
|
1036
|
+
};
|
|
1037
|
+
fallbackBaselineId?: string;
|
|
1038
|
+
}; readonly userTestId?: string; };
|
|
1039
|
+
toString(): string;
|
|
1040
|
+
}>; toJSON(): Array<{ readonly error?: unknown; readonly result?: {
|
|
1041
|
+
readonly id: string;
|
|
1042
|
+
readonly baselineId: string;
|
|
1043
|
+
readonly userTestId: string;
|
|
1044
|
+
readonly batchId: string;
|
|
1045
|
+
readonly eyesServer: {
|
|
1046
|
+
eyesServerUrl: string;
|
|
1047
|
+
apiKey: string;
|
|
1048
|
+
agentId?: string;
|
|
1049
|
+
proxy?: { url: string; username?: string; password?: string; };
|
|
1050
|
+
useDnsCache?: boolean;
|
|
1051
|
+
};
|
|
1052
|
+
readonly secretToken: string;
|
|
1053
|
+
readonly status: "Passed" | "Failed" | "Unresolved";
|
|
1054
|
+
readonly name: string;
|
|
1055
|
+
readonly appName: string;
|
|
1056
|
+
readonly batchName: string;
|
|
1057
|
+
readonly branchName: string;
|
|
1058
|
+
readonly hostOS: string;
|
|
1059
|
+
readonly hostApp: string;
|
|
1060
|
+
readonly hostDisplaySize: { width: number; height: number; };
|
|
1061
|
+
readonly accessibilityStatus: { readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; readonly status: "Passed" | "Failed"; };
|
|
1062
|
+
readonly initializedAt: string;
|
|
1063
|
+
readonly startedAt: string;
|
|
1064
|
+
readonly duration: number;
|
|
1065
|
+
readonly isNew: boolean;
|
|
1066
|
+
readonly isDifferent: boolean;
|
|
1067
|
+
readonly isAborted: boolean;
|
|
1068
|
+
readonly keepIfDuplicate: boolean;
|
|
1069
|
+
readonly appUrls: { readonly batch: string; readonly session: string; };
|
|
1070
|
+
readonly apiUrls: { readonly batch: string; readonly session: string; };
|
|
1071
|
+
readonly url: string;
|
|
1072
|
+
readonly stepsInfo: Array<{
|
|
629
1073
|
readonly name: string;
|
|
630
1074
|
readonly isDifferent: boolean;
|
|
631
1075
|
readonly hasBaselineImage: boolean;
|
|
@@ -640,144 +1084,548 @@ export type CypressTestResultsSummary = { getAllResults(): Array<{ getTestResult
|
|
|
640
1084
|
readonly sideBySideImage: string;
|
|
641
1085
|
};
|
|
642
1086
|
readonly renderId: Array<string>;
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
setAppUrls(_appUrls: { readonly batch: string; readonly session: string; }): void;
|
|
704
|
-
getApiUrls(): { getBatch(): string; setBatch(batch: string): void; getSession(): string; setSession(session: string): void; };
|
|
705
|
-
setApiUrls(_apiUrls: { readonly batch: string; readonly session: string; }): void;
|
|
706
|
-
getStepsInfo(): Array<{
|
|
1087
|
+
}>;
|
|
1088
|
+
readonly steps: number;
|
|
1089
|
+
readonly matches: number;
|
|
1090
|
+
readonly mismatches: number;
|
|
1091
|
+
readonly missing: number;
|
|
1092
|
+
readonly exactMatches: number;
|
|
1093
|
+
readonly strictMatches: number;
|
|
1094
|
+
readonly contentMatches: number;
|
|
1095
|
+
readonly layoutMatches: number;
|
|
1096
|
+
readonly noneMatches: number;
|
|
1097
|
+
readonly reason?: unknown;
|
|
1098
|
+
readonly environment: {
|
|
1099
|
+
environmentId?: string;
|
|
1100
|
+
os?: string;
|
|
1101
|
+
displayOs?: string;
|
|
1102
|
+
hostingApp?: string;
|
|
1103
|
+
displayHostingApp?: string;
|
|
1104
|
+
deviceName?: string;
|
|
1105
|
+
viewportSize?: { width: number; height: number; };
|
|
1106
|
+
userAgent?: string;
|
|
1107
|
+
ecSessionId?: string;
|
|
1108
|
+
rawEnvironment?: Record<string, any>;
|
|
1109
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1110
|
+
requested?: ({ name?: string; width: number; height: number; } | { chromeEmulationInfo: { deviceName: string; screenOrientation?: string; }; } | { iosDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; } | { androidDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; }) & {
|
|
1111
|
+
environmentId?: string;
|
|
1112
|
+
os?: string;
|
|
1113
|
+
displayOs?: string;
|
|
1114
|
+
hostingApp?: string;
|
|
1115
|
+
displayHostingApp?: string;
|
|
1116
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1117
|
+
fallbackBaselineId?: string;
|
|
1118
|
+
};
|
|
1119
|
+
fallbackBaselineId?: string;
|
|
1120
|
+
};
|
|
1121
|
+
}; readonly environment: {
|
|
1122
|
+
environmentId?: string;
|
|
1123
|
+
os?: string;
|
|
1124
|
+
displayOs?: string;
|
|
1125
|
+
hostingApp?: string;
|
|
1126
|
+
displayHostingApp?: string;
|
|
1127
|
+
deviceName?: string;
|
|
1128
|
+
viewportSize?: { width: number; height: number; };
|
|
1129
|
+
userAgent?: string;
|
|
1130
|
+
ecSessionId?: string;
|
|
1131
|
+
rawEnvironment?: Record<string, any>;
|
|
1132
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1133
|
+
requested?: ({ name?: string; width: number; height: number; } | { chromeEmulationInfo: { deviceName: string; screenOrientation?: string; }; } | { iosDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; } | { androidDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; }) & {
|
|
1134
|
+
environmentId?: string;
|
|
1135
|
+
os?: string;
|
|
1136
|
+
displayOs?: string;
|
|
1137
|
+
hostingApp?: string;
|
|
1138
|
+
displayHostingApp?: string;
|
|
1139
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1140
|
+
fallbackBaselineId?: string;
|
|
1141
|
+
};
|
|
1142
|
+
fallbackBaselineId?: string;
|
|
1143
|
+
}; readonly userTestId?: string; }>; toString(): string; [Symbol.iterator](): Iterator<{
|
|
1144
|
+
getTestResults(): {
|
|
1145
|
+
getId(): string;
|
|
1146
|
+
setId(_id: string): void;
|
|
707
1147
|
getName(): string;
|
|
708
|
-
setName(
|
|
1148
|
+
setName(_name: string): void;
|
|
1149
|
+
getSecretToken(): string;
|
|
1150
|
+
setSecretToken(_secretToken: string): void;
|
|
1151
|
+
getStatus(): TestResultsStatus;
|
|
1152
|
+
setStatus(_status: TestResultsStatus): void;
|
|
1153
|
+
getAppName(): string;
|
|
1154
|
+
setAppName(_appName: string): void;
|
|
1155
|
+
getBatchName(): string;
|
|
1156
|
+
setBatchName(_batchName: string): void;
|
|
1157
|
+
getBatchId(): string;
|
|
1158
|
+
setBatchId(_batchId: string): void;
|
|
1159
|
+
getBranchName(): string;
|
|
1160
|
+
setBranchName(_branchName: string): void;
|
|
1161
|
+
getHostOS(): string;
|
|
1162
|
+
setHostOS(_hostOS: string): void;
|
|
1163
|
+
getHostApp(): string;
|
|
1164
|
+
setHostApp(_hostApp: string): void;
|
|
1165
|
+
getHostDisplaySize(): {
|
|
1166
|
+
getWidth(): number;
|
|
1167
|
+
setWidth(width: number): void;
|
|
1168
|
+
getHeight(): number;
|
|
1169
|
+
setHeight(height: number): void;
|
|
1170
|
+
toObject(): { width: number; height: number; };
|
|
1171
|
+
toJSON(): { width: number; height: number; };
|
|
1172
|
+
toString(): string;
|
|
1173
|
+
};
|
|
1174
|
+
setHostDisplaySize(_hostDisplaySize: { width: number; height: number; }): void;
|
|
1175
|
+
getAccessibilityStatus(): { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
1176
|
+
setAccessibilityStatus(_accessibilityStatus: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; }): void;
|
|
1177
|
+
getStartedAt(): Date;
|
|
1178
|
+
setStartedAt(_startedAt: string | Date): void;
|
|
1179
|
+
getDuration(): number;
|
|
1180
|
+
setDuration(_duration: number): void;
|
|
1181
|
+
getIsNew(): boolean;
|
|
1182
|
+
setIsNew(_isNew: boolean): void;
|
|
709
1183
|
getIsDifferent(): boolean;
|
|
710
|
-
setIsDifferent(
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
1184
|
+
setIsDifferent(_isDifferent: boolean): void;
|
|
1185
|
+
getIsAborted(): boolean;
|
|
1186
|
+
setIsAborted(_isAborted: boolean): void;
|
|
1187
|
+
getAppUrls(): {
|
|
1188
|
+
getBatch(): string;
|
|
1189
|
+
setBatch(batch: string): void;
|
|
1190
|
+
getSession(): string;
|
|
1191
|
+
setSession(session: string): void;
|
|
1192
|
+
toObject(): { readonly batch: string; readonly session: string; };
|
|
1193
|
+
toJSON(): { readonly batch: string; readonly session: string; };
|
|
1194
|
+
toString(): string;
|
|
1195
|
+
};
|
|
1196
|
+
setAppUrls(_appUrls: { readonly batch: string; readonly session: string; }): void;
|
|
717
1197
|
getApiUrls(): {
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
setCheckpointImageThumbnail(checkpointImageThumbnail: string): void;
|
|
726
|
-
getDiffImage(): string;
|
|
727
|
-
setDiffImage(diffImage: string): void;
|
|
728
|
-
getSideBySideImage(): string;
|
|
1198
|
+
getBatch(): string;
|
|
1199
|
+
setBatch(batch: string): void;
|
|
1200
|
+
getSession(): string;
|
|
1201
|
+
setSession(session: string): void;
|
|
1202
|
+
toObject(): { readonly batch: string; readonly session: string; };
|
|
1203
|
+
toJSON(): { readonly batch: string; readonly session: string; };
|
|
1204
|
+
toString(): string;
|
|
729
1205
|
};
|
|
730
|
-
setApiUrls(
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
1206
|
+
setApiUrls(_apiUrls: { readonly batch: string; readonly session: string; }): void;
|
|
1207
|
+
getStepsInfo(): Array<{
|
|
1208
|
+
getName(): string;
|
|
1209
|
+
setName(value: string): void;
|
|
1210
|
+
getIsDifferent(): boolean;
|
|
1211
|
+
setIsDifferent(value: boolean): void;
|
|
1212
|
+
getHasBaselineImage(): boolean;
|
|
1213
|
+
setHasBaselineImage(value: boolean): void;
|
|
1214
|
+
getHasCurrentImage(): boolean;
|
|
1215
|
+
setHasCurrentImage(hasCurrentImage: boolean): void;
|
|
1216
|
+
getAppUrls(): {
|
|
1217
|
+
getStep(): string;
|
|
1218
|
+
setStep(step: string): void;
|
|
1219
|
+
getStepEditor(): string;
|
|
1220
|
+
setStepEditor(stepEditor: string): void;
|
|
1221
|
+
toObject(): { readonly step: string; readonly stepEditor: string; };
|
|
1222
|
+
toJSON(): { readonly step: string; readonly stepEditor: string; };
|
|
1223
|
+
toString(): string;
|
|
1224
|
+
};
|
|
1225
|
+
setAppUrls(appUrls: { readonly step: string; readonly stepEditor: string; }): void;
|
|
1226
|
+
getApiUrls(): {
|
|
1227
|
+
getBaselineImage(): string;
|
|
1228
|
+
setBaselineImage(setBaselineImage: string): void;
|
|
1229
|
+
getCurrentImage(): string;
|
|
1230
|
+
setCurrentImage(currentImage: string): void;
|
|
1231
|
+
getCheckpointImage(): string;
|
|
1232
|
+
setCheckpointImage(checkpointImage: string): void;
|
|
1233
|
+
getCheckpointImageThumbnail(): string;
|
|
1234
|
+
setCheckpointImageThumbnail(checkpointImageThumbnail: string): void;
|
|
1235
|
+
getDiffImage(): string;
|
|
1236
|
+
setDiffImage(diffImage: string): void;
|
|
1237
|
+
getSideBySideImage(): string;
|
|
1238
|
+
toObject(): {
|
|
1239
|
+
readonly baselineImage: string;
|
|
1240
|
+
readonly currentImage: string;
|
|
1241
|
+
readonly checkpointImage: string;
|
|
1242
|
+
readonly checkpointImageThumbnail: string;
|
|
1243
|
+
readonly diffImage: string;
|
|
1244
|
+
readonly sideBySideImage: string;
|
|
1245
|
+
};
|
|
1246
|
+
toJSON(): {
|
|
1247
|
+
readonly baselineImage: string;
|
|
1248
|
+
readonly currentImage: string;
|
|
1249
|
+
readonly checkpointImage: string;
|
|
1250
|
+
readonly checkpointImageThumbnail: string;
|
|
1251
|
+
readonly diffImage: string;
|
|
1252
|
+
readonly sideBySideImage: string;
|
|
1253
|
+
};
|
|
1254
|
+
toString(): string;
|
|
1255
|
+
};
|
|
1256
|
+
setApiUrls(apiUrls: {
|
|
1257
|
+
readonly baselineImage: string;
|
|
1258
|
+
readonly currentImage: string;
|
|
1259
|
+
readonly checkpointImage: string;
|
|
1260
|
+
readonly checkpointImageThumbnail: string;
|
|
1261
|
+
readonly diffImage: string;
|
|
1262
|
+
readonly sideBySideImage: string;
|
|
1263
|
+
}): void;
|
|
1264
|
+
getRenderId(): Array<string>;
|
|
1265
|
+
setRenderId(renderId: Array<string>): void;
|
|
1266
|
+
toObject(): {
|
|
1267
|
+
readonly name: string;
|
|
1268
|
+
readonly isDifferent: boolean;
|
|
1269
|
+
readonly hasBaselineImage: boolean;
|
|
1270
|
+
readonly hasCurrentImage: boolean;
|
|
1271
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
1272
|
+
readonly apiUrls: {
|
|
1273
|
+
readonly baselineImage: string;
|
|
1274
|
+
readonly currentImage: string;
|
|
1275
|
+
readonly checkpointImage: string;
|
|
1276
|
+
readonly checkpointImageThumbnail: string;
|
|
1277
|
+
readonly diffImage: string;
|
|
1278
|
+
readonly sideBySideImage: string;
|
|
1279
|
+
};
|
|
1280
|
+
readonly renderId: Array<string>;
|
|
1281
|
+
};
|
|
1282
|
+
toJSON(): {
|
|
1283
|
+
readonly name: string;
|
|
1284
|
+
readonly isDifferent: boolean;
|
|
1285
|
+
readonly hasBaselineImage: boolean;
|
|
1286
|
+
readonly hasCurrentImage: boolean;
|
|
1287
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
1288
|
+
readonly apiUrls: {
|
|
1289
|
+
readonly baselineImage: string;
|
|
1290
|
+
readonly currentImage: string;
|
|
1291
|
+
readonly checkpointImage: string;
|
|
1292
|
+
readonly checkpointImageThumbnail: string;
|
|
1293
|
+
readonly diffImage: string;
|
|
1294
|
+
readonly sideBySideImage: string;
|
|
1295
|
+
};
|
|
1296
|
+
readonly renderId: Array<string>;
|
|
1297
|
+
};
|
|
1298
|
+
toString(): string;
|
|
1299
|
+
}>;
|
|
1300
|
+
setStepsInfo(_stepInfo: Array<{
|
|
1301
|
+
readonly name: string;
|
|
1302
|
+
readonly isDifferent: boolean;
|
|
1303
|
+
readonly hasBaselineImage: boolean;
|
|
1304
|
+
readonly hasCurrentImage: boolean;
|
|
1305
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
1306
|
+
readonly apiUrls: {
|
|
1307
|
+
readonly baselineImage: string;
|
|
1308
|
+
readonly currentImage: string;
|
|
1309
|
+
readonly checkpointImage: string;
|
|
1310
|
+
readonly checkpointImageThumbnail: string;
|
|
1311
|
+
readonly diffImage: string;
|
|
1312
|
+
readonly sideBySideImage: string;
|
|
1313
|
+
};
|
|
1314
|
+
readonly renderId: Array<string>;
|
|
1315
|
+
}>): void;
|
|
1316
|
+
getSteps(): number;
|
|
1317
|
+
setSteps(_steps: number): void;
|
|
1318
|
+
getMatches(): number;
|
|
1319
|
+
setMatches(_matches: number): void;
|
|
1320
|
+
getMismatches(): number;
|
|
1321
|
+
setMismatches(_mismatches: number): void;
|
|
1322
|
+
getMissing(): number;
|
|
1323
|
+
setMissing(_missing: number): void;
|
|
1324
|
+
getExactMatches(): number;
|
|
1325
|
+
setExactMatches(_exactMatches: number): void;
|
|
1326
|
+
getStrictMatches(): number;
|
|
1327
|
+
setStrictMatches(_strictMatches: number): void;
|
|
1328
|
+
getContentMatches(): number;
|
|
1329
|
+
setContentMatches(_contentMatches: number): void;
|
|
1330
|
+
getLayoutMatches(): number;
|
|
1331
|
+
setLayoutMatches(_layoutMatches: number): void;
|
|
1332
|
+
getNoneMatches(): number;
|
|
1333
|
+
setNoneMatches(_noneMatches: number): void;
|
|
1334
|
+
getUrl(): string;
|
|
1335
|
+
setUrl(_url: string): void;
|
|
1336
|
+
isPassed(): boolean;
|
|
1337
|
+
delete(): Promise<void>;
|
|
1338
|
+
deleteSession(): Promise<void>;
|
|
1339
|
+
toObject(): {
|
|
1340
|
+
readonly id?: string;
|
|
1341
|
+
readonly name?: string;
|
|
1342
|
+
readonly secretToken?: string;
|
|
1343
|
+
readonly status?: "Passed" | "Failed" | "Unresolved";
|
|
1344
|
+
readonly appName?: string;
|
|
1345
|
+
readonly batchId?: string;
|
|
1346
|
+
readonly batchName?: string;
|
|
1347
|
+
readonly branchName?: string;
|
|
1348
|
+
readonly hostOS?: string;
|
|
1349
|
+
readonly hostApp?: string;
|
|
1350
|
+
readonly hostDisplaySize?: { width: number; height: number; };
|
|
1351
|
+
readonly accessibilityStatus?: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
1352
|
+
readonly startedAt?: string;
|
|
1353
|
+
readonly duration?: number;
|
|
1354
|
+
readonly isNew?: boolean;
|
|
1355
|
+
readonly isDifferent?: boolean;
|
|
1356
|
+
readonly isAborted?: boolean;
|
|
1357
|
+
readonly appUrls?: { readonly batch: string; readonly session: string; };
|
|
1358
|
+
readonly apiUrls?: { readonly batch: string; readonly session: string; };
|
|
1359
|
+
readonly stepsInfo?: Array<{
|
|
1360
|
+
readonly name: string;
|
|
1361
|
+
readonly isDifferent: boolean;
|
|
1362
|
+
readonly hasBaselineImage: boolean;
|
|
1363
|
+
readonly hasCurrentImage: boolean;
|
|
1364
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
1365
|
+
readonly apiUrls: {
|
|
1366
|
+
readonly baselineImage: string;
|
|
1367
|
+
readonly currentImage: string;
|
|
1368
|
+
readonly checkpointImage: string;
|
|
1369
|
+
readonly checkpointImageThumbnail: string;
|
|
1370
|
+
readonly diffImage: string;
|
|
1371
|
+
readonly sideBySideImage: string;
|
|
1372
|
+
};
|
|
1373
|
+
readonly renderId: Array<string>;
|
|
1374
|
+
}>;
|
|
1375
|
+
readonly steps?: number;
|
|
1376
|
+
readonly matches?: number;
|
|
1377
|
+
readonly mismatches?: number;
|
|
1378
|
+
readonly missing?: number;
|
|
1379
|
+
readonly exactMatches?: number;
|
|
1380
|
+
readonly strictMatches?: number;
|
|
1381
|
+
readonly contentMatches?: number;
|
|
1382
|
+
readonly layoutMatches?: number;
|
|
1383
|
+
readonly noneMatches?: number;
|
|
1384
|
+
readonly url?: string;
|
|
1385
|
+
readonly server?: { eyesServerUrl: string; apiKey: string; proxy?: { url: string; username?: string; password?: string; }; };
|
|
1386
|
+
readonly keepIfDuplicate?: boolean;
|
|
1387
|
+
};
|
|
1388
|
+
toJSON(): {
|
|
1389
|
+
readonly id: string;
|
|
1390
|
+
readonly baselineId: string;
|
|
1391
|
+
readonly userTestId: string;
|
|
1392
|
+
readonly batchId: string;
|
|
1393
|
+
readonly eyesServer: {
|
|
1394
|
+
eyesServerUrl: string;
|
|
1395
|
+
apiKey: string;
|
|
1396
|
+
agentId?: string;
|
|
1397
|
+
proxy?: { url: string; username?: string; password?: string; };
|
|
1398
|
+
useDnsCache?: boolean;
|
|
1399
|
+
};
|
|
1400
|
+
readonly secretToken: string;
|
|
1401
|
+
readonly status: "Passed" | "Failed" | "Unresolved";
|
|
1402
|
+
readonly name: string;
|
|
1403
|
+
readonly appName: string;
|
|
1404
|
+
readonly batchName: string;
|
|
1405
|
+
readonly branchName: string;
|
|
1406
|
+
readonly hostOS: string;
|
|
1407
|
+
readonly hostApp: string;
|
|
1408
|
+
readonly hostDisplaySize: { width: number; height: number; };
|
|
1409
|
+
readonly accessibilityStatus: { readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; readonly status: "Passed" | "Failed"; };
|
|
1410
|
+
readonly initializedAt: string;
|
|
1411
|
+
readonly startedAt: string;
|
|
1412
|
+
readonly duration: number;
|
|
1413
|
+
readonly isNew: boolean;
|
|
1414
|
+
readonly isDifferent: boolean;
|
|
1415
|
+
readonly isAborted: boolean;
|
|
1416
|
+
readonly keepIfDuplicate: boolean;
|
|
1417
|
+
readonly appUrls: { readonly batch: string; readonly session: string; };
|
|
1418
|
+
readonly apiUrls: { readonly batch: string; readonly session: string; };
|
|
1419
|
+
readonly url: string;
|
|
1420
|
+
readonly stepsInfo: Array<{
|
|
1421
|
+
readonly name: string;
|
|
1422
|
+
readonly isDifferent: boolean;
|
|
1423
|
+
readonly hasBaselineImage: boolean;
|
|
1424
|
+
readonly hasCurrentImage: boolean;
|
|
1425
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
1426
|
+
readonly apiUrls: {
|
|
1427
|
+
readonly baselineImage: string;
|
|
1428
|
+
readonly currentImage: string;
|
|
1429
|
+
readonly checkpointImage: string;
|
|
1430
|
+
readonly checkpointImageThumbnail: string;
|
|
1431
|
+
readonly diffImage: string;
|
|
1432
|
+
readonly sideBySideImage: string;
|
|
1433
|
+
};
|
|
1434
|
+
readonly renderId: Array<string>;
|
|
1435
|
+
}>;
|
|
1436
|
+
readonly steps: number;
|
|
1437
|
+
readonly matches: number;
|
|
1438
|
+
readonly mismatches: number;
|
|
1439
|
+
readonly missing: number;
|
|
1440
|
+
readonly exactMatches: number;
|
|
1441
|
+
readonly strictMatches: number;
|
|
1442
|
+
readonly contentMatches: number;
|
|
1443
|
+
readonly layoutMatches: number;
|
|
1444
|
+
readonly noneMatches: number;
|
|
1445
|
+
readonly reason?: unknown;
|
|
1446
|
+
readonly environment: {
|
|
1447
|
+
environmentId?: string;
|
|
1448
|
+
os?: string;
|
|
1449
|
+
displayOs?: string;
|
|
1450
|
+
hostingApp?: string;
|
|
1451
|
+
displayHostingApp?: string;
|
|
1452
|
+
deviceName?: string;
|
|
1453
|
+
viewportSize?: { width: number; height: number; };
|
|
1454
|
+
userAgent?: string;
|
|
1455
|
+
ecSessionId?: string;
|
|
1456
|
+
rawEnvironment?: Record<string, any>;
|
|
1457
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1458
|
+
requested?: ({ name?: string; width: number; height: number; } | { chromeEmulationInfo: { deviceName: string; screenOrientation?: string; }; } | { iosDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; } | { androidDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; }) & {
|
|
1459
|
+
environmentId?: string;
|
|
1460
|
+
os?: string;
|
|
1461
|
+
displayOs?: string;
|
|
1462
|
+
hostingApp?: string;
|
|
1463
|
+
displayHostingApp?: string;
|
|
1464
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1465
|
+
fallbackBaselineId?: string;
|
|
1466
|
+
};
|
|
1467
|
+
fallbackBaselineId?: string;
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
toString(): string;
|
|
1471
|
+
};
|
|
1472
|
+
getException(): Error;
|
|
1473
|
+
getBrowserInfo(): { 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; }; } | { 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; };
|
|
1474
|
+
toObject(): { readonly exception?: Error; readonly testResults?: {
|
|
1475
|
+
readonly id?: string;
|
|
1476
|
+
readonly name?: string;
|
|
1477
|
+
readonly secretToken?: string;
|
|
1478
|
+
readonly status?: "Passed" | "Failed" | "Unresolved";
|
|
1479
|
+
readonly appName?: string;
|
|
1480
|
+
readonly batchId?: string;
|
|
1481
|
+
readonly batchName?: string;
|
|
1482
|
+
readonly branchName?: string;
|
|
1483
|
+
readonly hostOS?: string;
|
|
1484
|
+
readonly hostApp?: string;
|
|
1485
|
+
readonly hostDisplaySize?: { width: number; height: number; };
|
|
1486
|
+
readonly accessibilityStatus?: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
1487
|
+
readonly startedAt?: string;
|
|
1488
|
+
readonly duration?: number;
|
|
1489
|
+
readonly isNew?: boolean;
|
|
1490
|
+
readonly isDifferent?: boolean;
|
|
1491
|
+
readonly isAborted?: boolean;
|
|
1492
|
+
readonly appUrls?: { readonly batch: string; readonly session: string; };
|
|
1493
|
+
readonly apiUrls?: { readonly batch: string; readonly session: string; };
|
|
1494
|
+
readonly stepsInfo?: Array<{
|
|
1495
|
+
readonly name: string;
|
|
1496
|
+
readonly isDifferent: boolean;
|
|
1497
|
+
readonly hasBaselineImage: boolean;
|
|
1498
|
+
readonly hasCurrentImage: boolean;
|
|
1499
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
1500
|
+
readonly apiUrls: {
|
|
1501
|
+
readonly baselineImage: string;
|
|
1502
|
+
readonly currentImage: string;
|
|
1503
|
+
readonly checkpointImage: string;
|
|
1504
|
+
readonly checkpointImageThumbnail: string;
|
|
1505
|
+
readonly diffImage: string;
|
|
1506
|
+
readonly sideBySideImage: string;
|
|
1507
|
+
};
|
|
1508
|
+
readonly renderId: Array<string>;
|
|
1509
|
+
}>;
|
|
1510
|
+
readonly steps?: number;
|
|
1511
|
+
readonly matches?: number;
|
|
1512
|
+
readonly mismatches?: number;
|
|
1513
|
+
readonly missing?: number;
|
|
1514
|
+
readonly exactMatches?: number;
|
|
1515
|
+
readonly strictMatches?: number;
|
|
1516
|
+
readonly contentMatches?: number;
|
|
1517
|
+
readonly layoutMatches?: number;
|
|
1518
|
+
readonly noneMatches?: number;
|
|
1519
|
+
readonly url?: string;
|
|
1520
|
+
readonly server?: { eyesServerUrl: string; apiKey: string; proxy?: { url: string; username?: string; password?: string; }; };
|
|
1521
|
+
readonly keepIfDuplicate?: boolean;
|
|
1522
|
+
}; readonly browserInfo?: { 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; }; } | { 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; }; };
|
|
1523
|
+
toJSON(): { readonly error?: unknown; readonly result?: {
|
|
1524
|
+
readonly id: string;
|
|
1525
|
+
readonly baselineId: string;
|
|
1526
|
+
readonly userTestId: string;
|
|
1527
|
+
readonly batchId: string;
|
|
1528
|
+
readonly eyesServer: {
|
|
1529
|
+
eyesServerUrl: string;
|
|
1530
|
+
apiKey: string;
|
|
1531
|
+
agentId?: string;
|
|
1532
|
+
proxy?: { url: string; username?: string; password?: string; };
|
|
1533
|
+
useDnsCache?: boolean;
|
|
1534
|
+
};
|
|
1535
|
+
readonly secretToken: string;
|
|
1536
|
+
readonly status: "Passed" | "Failed" | "Unresolved";
|
|
742
1537
|
readonly name: string;
|
|
1538
|
+
readonly appName: string;
|
|
1539
|
+
readonly batchName: string;
|
|
1540
|
+
readonly branchName: string;
|
|
1541
|
+
readonly hostOS: string;
|
|
1542
|
+
readonly hostApp: string;
|
|
1543
|
+
readonly hostDisplaySize: { width: number; height: number; };
|
|
1544
|
+
readonly accessibilityStatus: { readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; readonly status: "Passed" | "Failed"; };
|
|
1545
|
+
readonly initializedAt: string;
|
|
1546
|
+
readonly startedAt: string;
|
|
1547
|
+
readonly duration: number;
|
|
1548
|
+
readonly isNew: boolean;
|
|
743
1549
|
readonly isDifferent: boolean;
|
|
744
|
-
readonly
|
|
745
|
-
readonly
|
|
746
|
-
readonly appUrls: { readonly
|
|
747
|
-
readonly apiUrls: {
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
readonly
|
|
751
|
-
readonly
|
|
752
|
-
readonly
|
|
753
|
-
readonly
|
|
1550
|
+
readonly isAborted: boolean;
|
|
1551
|
+
readonly keepIfDuplicate: boolean;
|
|
1552
|
+
readonly appUrls: { readonly batch: string; readonly session: string; };
|
|
1553
|
+
readonly apiUrls: { readonly batch: string; readonly session: string; };
|
|
1554
|
+
readonly url: string;
|
|
1555
|
+
readonly stepsInfo: Array<{
|
|
1556
|
+
readonly name: string;
|
|
1557
|
+
readonly isDifferent: boolean;
|
|
1558
|
+
readonly hasBaselineImage: boolean;
|
|
1559
|
+
readonly hasCurrentImage: boolean;
|
|
1560
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
1561
|
+
readonly apiUrls: {
|
|
1562
|
+
readonly baselineImage: string;
|
|
1563
|
+
readonly currentImage: string;
|
|
1564
|
+
readonly checkpointImage: string;
|
|
1565
|
+
readonly checkpointImageThumbnail: string;
|
|
1566
|
+
readonly diffImage: string;
|
|
1567
|
+
readonly sideBySideImage: string;
|
|
1568
|
+
};
|
|
1569
|
+
readonly renderId: Array<string>;
|
|
1570
|
+
}>;
|
|
1571
|
+
readonly steps: number;
|
|
1572
|
+
readonly matches: number;
|
|
1573
|
+
readonly mismatches: number;
|
|
1574
|
+
readonly missing: number;
|
|
1575
|
+
readonly exactMatches: number;
|
|
1576
|
+
readonly strictMatches: number;
|
|
1577
|
+
readonly contentMatches: number;
|
|
1578
|
+
readonly layoutMatches: number;
|
|
1579
|
+
readonly noneMatches: number;
|
|
1580
|
+
readonly reason?: unknown;
|
|
1581
|
+
readonly environment: {
|
|
1582
|
+
environmentId?: string;
|
|
1583
|
+
os?: string;
|
|
1584
|
+
displayOs?: string;
|
|
1585
|
+
hostingApp?: string;
|
|
1586
|
+
displayHostingApp?: string;
|
|
1587
|
+
deviceName?: string;
|
|
1588
|
+
viewportSize?: { width: number; height: number; };
|
|
1589
|
+
userAgent?: string;
|
|
1590
|
+
ecSessionId?: string;
|
|
1591
|
+
rawEnvironment?: Record<string, any>;
|
|
1592
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1593
|
+
requested?: ({ name?: string; width: number; height: number; } | { chromeEmulationInfo: { deviceName: string; screenOrientation?: string; }; } | { iosDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; } | { androidDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; }) & {
|
|
1594
|
+
environmentId?: string;
|
|
1595
|
+
os?: string;
|
|
1596
|
+
displayOs?: string;
|
|
1597
|
+
hostingApp?: string;
|
|
1598
|
+
displayHostingApp?: string;
|
|
1599
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1600
|
+
fallbackBaselineId?: string;
|
|
1601
|
+
};
|
|
1602
|
+
fallbackBaselineId?: string;
|
|
754
1603
|
};
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
}; getException(): Error; getBrowserInfo(): { 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; }; } | { 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; }; }, any, undefined>; };
|
|
1604
|
+
}; readonly environment: {
|
|
1605
|
+
environmentId?: string;
|
|
1606
|
+
os?: string;
|
|
1607
|
+
displayOs?: string;
|
|
1608
|
+
hostingApp?: string;
|
|
1609
|
+
displayHostingApp?: string;
|
|
1610
|
+
deviceName?: string;
|
|
1611
|
+
viewportSize?: { width: number; height: number; };
|
|
1612
|
+
userAgent?: string;
|
|
1613
|
+
ecSessionId?: string;
|
|
1614
|
+
rawEnvironment?: Record<string, any>;
|
|
1615
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1616
|
+
requested?: ({ name?: string; width: number; height: number; } | { chromeEmulationInfo: { deviceName: string; screenOrientation?: string; }; } | { iosDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; } | { androidDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; }) & {
|
|
1617
|
+
environmentId?: string;
|
|
1618
|
+
os?: string;
|
|
1619
|
+
displayOs?: string;
|
|
1620
|
+
hostingApp?: string;
|
|
1621
|
+
displayHostingApp?: string;
|
|
1622
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1623
|
+
fallbackBaselineId?: string;
|
|
1624
|
+
};
|
|
1625
|
+
fallbackBaselineId?: string;
|
|
1626
|
+
}; readonly userTestId?: string; };
|
|
1627
|
+
toString(): string;
|
|
1628
|
+
}, any, undefined>; };
|
|
781
1629
|
export type CypressTestResults = Array<{
|
|
782
1630
|
getId(): string;
|
|
783
1631
|
setId(_id: string): void;
|
|
@@ -799,7 +1647,15 @@ export type CypressTestResults = Array<{
|
|
|
799
1647
|
setHostOS(_hostOS: string): void;
|
|
800
1648
|
getHostApp(): string;
|
|
801
1649
|
setHostApp(_hostApp: string): void;
|
|
802
|
-
getHostDisplaySize(): {
|
|
1650
|
+
getHostDisplaySize(): {
|
|
1651
|
+
getWidth(): number;
|
|
1652
|
+
setWidth(width: number): void;
|
|
1653
|
+
getHeight(): number;
|
|
1654
|
+
setHeight(height: number): void;
|
|
1655
|
+
toObject(): { width: number; height: number; };
|
|
1656
|
+
toJSON(): { width: number; height: number; };
|
|
1657
|
+
toString(): string;
|
|
1658
|
+
};
|
|
803
1659
|
setHostDisplaySize(_hostDisplaySize: { width: number; height: number; }): void;
|
|
804
1660
|
getAccessibilityStatus(): { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
805
1661
|
setAccessibilityStatus(_accessibilityStatus: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; }): void;
|
|
@@ -813,9 +1669,25 @@ export type CypressTestResults = Array<{
|
|
|
813
1669
|
setIsDifferent(_isDifferent: boolean): void;
|
|
814
1670
|
getIsAborted(): boolean;
|
|
815
1671
|
setIsAborted(_isAborted: boolean): void;
|
|
816
|
-
getAppUrls(): {
|
|
1672
|
+
getAppUrls(): {
|
|
1673
|
+
getBatch(): string;
|
|
1674
|
+
setBatch(batch: string): void;
|
|
1675
|
+
getSession(): string;
|
|
1676
|
+
setSession(session: string): void;
|
|
1677
|
+
toObject(): { readonly batch: string; readonly session: string; };
|
|
1678
|
+
toJSON(): { readonly batch: string; readonly session: string; };
|
|
1679
|
+
toString(): string;
|
|
1680
|
+
};
|
|
817
1681
|
setAppUrls(_appUrls: { readonly batch: string; readonly session: string; }): void;
|
|
818
|
-
getApiUrls(): {
|
|
1682
|
+
getApiUrls(): {
|
|
1683
|
+
getBatch(): string;
|
|
1684
|
+
setBatch(batch: string): void;
|
|
1685
|
+
getSession(): string;
|
|
1686
|
+
setSession(session: string): void;
|
|
1687
|
+
toObject(): { readonly batch: string; readonly session: string; };
|
|
1688
|
+
toJSON(): { readonly batch: string; readonly session: string; };
|
|
1689
|
+
toString(): string;
|
|
1690
|
+
};
|
|
819
1691
|
setApiUrls(_apiUrls: { readonly batch: string; readonly session: string; }): void;
|
|
820
1692
|
getStepsInfo(): Array<{
|
|
821
1693
|
getName(): string;
|
|
@@ -826,7 +1698,15 @@ export type CypressTestResults = Array<{
|
|
|
826
1698
|
setHasBaselineImage(value: boolean): void;
|
|
827
1699
|
getHasCurrentImage(): boolean;
|
|
828
1700
|
setHasCurrentImage(hasCurrentImage: boolean): void;
|
|
829
|
-
getAppUrls(): {
|
|
1701
|
+
getAppUrls(): {
|
|
1702
|
+
getStep(): string;
|
|
1703
|
+
setStep(step: string): void;
|
|
1704
|
+
getStepEditor(): string;
|
|
1705
|
+
setStepEditor(stepEditor: string): void;
|
|
1706
|
+
toObject(): { readonly step: string; readonly stepEditor: string; };
|
|
1707
|
+
toJSON(): { readonly step: string; readonly stepEditor: string; };
|
|
1708
|
+
toString(): string;
|
|
1709
|
+
};
|
|
830
1710
|
setAppUrls(appUrls: { readonly step: string; readonly stepEditor: string; }): void;
|
|
831
1711
|
getApiUrls(): {
|
|
832
1712
|
getBaselineImage(): string;
|
|
@@ -840,6 +1720,23 @@ export type CypressTestResults = Array<{
|
|
|
840
1720
|
getDiffImage(): string;
|
|
841
1721
|
setDiffImage(diffImage: string): void;
|
|
842
1722
|
getSideBySideImage(): string;
|
|
1723
|
+
toObject(): {
|
|
1724
|
+
readonly baselineImage: string;
|
|
1725
|
+
readonly currentImage: string;
|
|
1726
|
+
readonly checkpointImage: string;
|
|
1727
|
+
readonly checkpointImageThumbnail: string;
|
|
1728
|
+
readonly diffImage: string;
|
|
1729
|
+
readonly sideBySideImage: string;
|
|
1730
|
+
};
|
|
1731
|
+
toJSON(): {
|
|
1732
|
+
readonly baselineImage: string;
|
|
1733
|
+
readonly currentImage: string;
|
|
1734
|
+
readonly checkpointImage: string;
|
|
1735
|
+
readonly checkpointImageThumbnail: string;
|
|
1736
|
+
readonly diffImage: string;
|
|
1737
|
+
readonly sideBySideImage: string;
|
|
1738
|
+
};
|
|
1739
|
+
toString(): string;
|
|
843
1740
|
};
|
|
844
1741
|
setApiUrls(apiUrls: {
|
|
845
1742
|
readonly baselineImage: string;
|
|
@@ -851,6 +1748,39 @@ export type CypressTestResults = Array<{
|
|
|
851
1748
|
}): void;
|
|
852
1749
|
getRenderId(): Array<string>;
|
|
853
1750
|
setRenderId(renderId: Array<string>): void;
|
|
1751
|
+
toObject(): {
|
|
1752
|
+
readonly name: string;
|
|
1753
|
+
readonly isDifferent: boolean;
|
|
1754
|
+
readonly hasBaselineImage: boolean;
|
|
1755
|
+
readonly hasCurrentImage: boolean;
|
|
1756
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
1757
|
+
readonly apiUrls: {
|
|
1758
|
+
readonly baselineImage: string;
|
|
1759
|
+
readonly currentImage: string;
|
|
1760
|
+
readonly checkpointImage: string;
|
|
1761
|
+
readonly checkpointImageThumbnail: string;
|
|
1762
|
+
readonly diffImage: string;
|
|
1763
|
+
readonly sideBySideImage: string;
|
|
1764
|
+
};
|
|
1765
|
+
readonly renderId: Array<string>;
|
|
1766
|
+
};
|
|
1767
|
+
toJSON(): {
|
|
1768
|
+
readonly name: string;
|
|
1769
|
+
readonly isDifferent: boolean;
|
|
1770
|
+
readonly hasBaselineImage: boolean;
|
|
1771
|
+
readonly hasCurrentImage: boolean;
|
|
1772
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
1773
|
+
readonly apiUrls: {
|
|
1774
|
+
readonly baselineImage: string;
|
|
1775
|
+
readonly currentImage: string;
|
|
1776
|
+
readonly checkpointImage: string;
|
|
1777
|
+
readonly checkpointImageThumbnail: string;
|
|
1778
|
+
readonly diffImage: string;
|
|
1779
|
+
readonly sideBySideImage: string;
|
|
1780
|
+
};
|
|
1781
|
+
readonly renderId: Array<string>;
|
|
1782
|
+
};
|
|
1783
|
+
toString(): string;
|
|
854
1784
|
}>;
|
|
855
1785
|
setStepsInfo(_stepInfo: Array<{
|
|
856
1786
|
readonly name: string;
|
|
@@ -891,6 +1821,138 @@ export type CypressTestResults = Array<{
|
|
|
891
1821
|
isPassed(): boolean;
|
|
892
1822
|
delete(): Promise<void>;
|
|
893
1823
|
deleteSession(): Promise<void>;
|
|
1824
|
+
toObject(): {
|
|
1825
|
+
readonly id?: string;
|
|
1826
|
+
readonly name?: string;
|
|
1827
|
+
readonly secretToken?: string;
|
|
1828
|
+
readonly status?: "Passed" | "Failed" | "Unresolved";
|
|
1829
|
+
readonly appName?: string;
|
|
1830
|
+
readonly batchId?: string;
|
|
1831
|
+
readonly batchName?: string;
|
|
1832
|
+
readonly branchName?: string;
|
|
1833
|
+
readonly hostOS?: string;
|
|
1834
|
+
readonly hostApp?: string;
|
|
1835
|
+
readonly hostDisplaySize?: { width: number; height: number; };
|
|
1836
|
+
readonly accessibilityStatus?: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
1837
|
+
readonly startedAt?: string;
|
|
1838
|
+
readonly duration?: number;
|
|
1839
|
+
readonly isNew?: boolean;
|
|
1840
|
+
readonly isDifferent?: boolean;
|
|
1841
|
+
readonly isAborted?: boolean;
|
|
1842
|
+
readonly appUrls?: { readonly batch: string; readonly session: string; };
|
|
1843
|
+
readonly apiUrls?: { readonly batch: string; readonly session: string; };
|
|
1844
|
+
readonly stepsInfo?: Array<{
|
|
1845
|
+
readonly name: string;
|
|
1846
|
+
readonly isDifferent: boolean;
|
|
1847
|
+
readonly hasBaselineImage: boolean;
|
|
1848
|
+
readonly hasCurrentImage: boolean;
|
|
1849
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
1850
|
+
readonly apiUrls: {
|
|
1851
|
+
readonly baselineImage: string;
|
|
1852
|
+
readonly currentImage: string;
|
|
1853
|
+
readonly checkpointImage: string;
|
|
1854
|
+
readonly checkpointImageThumbnail: string;
|
|
1855
|
+
readonly diffImage: string;
|
|
1856
|
+
readonly sideBySideImage: string;
|
|
1857
|
+
};
|
|
1858
|
+
readonly renderId: Array<string>;
|
|
1859
|
+
}>;
|
|
1860
|
+
readonly steps?: number;
|
|
1861
|
+
readonly matches?: number;
|
|
1862
|
+
readonly mismatches?: number;
|
|
1863
|
+
readonly missing?: number;
|
|
1864
|
+
readonly exactMatches?: number;
|
|
1865
|
+
readonly strictMatches?: number;
|
|
1866
|
+
readonly contentMatches?: number;
|
|
1867
|
+
readonly layoutMatches?: number;
|
|
1868
|
+
readonly noneMatches?: number;
|
|
1869
|
+
readonly url?: string;
|
|
1870
|
+
readonly server?: { eyesServerUrl: string; apiKey: string; proxy?: { url: string; username?: string; password?: string; }; };
|
|
1871
|
+
readonly keepIfDuplicate?: boolean;
|
|
1872
|
+
};
|
|
1873
|
+
toJSON(): {
|
|
1874
|
+
readonly id: string;
|
|
1875
|
+
readonly baselineId: string;
|
|
1876
|
+
readonly userTestId: string;
|
|
1877
|
+
readonly batchId: string;
|
|
1878
|
+
readonly eyesServer: {
|
|
1879
|
+
eyesServerUrl: string;
|
|
1880
|
+
apiKey: string;
|
|
1881
|
+
agentId?: string;
|
|
1882
|
+
proxy?: { url: string; username?: string; password?: string; };
|
|
1883
|
+
useDnsCache?: boolean;
|
|
1884
|
+
};
|
|
1885
|
+
readonly secretToken: string;
|
|
1886
|
+
readonly status: "Passed" | "Failed" | "Unresolved";
|
|
1887
|
+
readonly name: string;
|
|
1888
|
+
readonly appName: string;
|
|
1889
|
+
readonly batchName: string;
|
|
1890
|
+
readonly branchName: string;
|
|
1891
|
+
readonly hostOS: string;
|
|
1892
|
+
readonly hostApp: string;
|
|
1893
|
+
readonly hostDisplaySize: { width: number; height: number; };
|
|
1894
|
+
readonly accessibilityStatus: { readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; readonly status: "Passed" | "Failed"; };
|
|
1895
|
+
readonly initializedAt: string;
|
|
1896
|
+
readonly startedAt: string;
|
|
1897
|
+
readonly duration: number;
|
|
1898
|
+
readonly isNew: boolean;
|
|
1899
|
+
readonly isDifferent: boolean;
|
|
1900
|
+
readonly isAborted: boolean;
|
|
1901
|
+
readonly keepIfDuplicate: boolean;
|
|
1902
|
+
readonly appUrls: { readonly batch: string; readonly session: string; };
|
|
1903
|
+
readonly apiUrls: { readonly batch: string; readonly session: string; };
|
|
1904
|
+
readonly url: string;
|
|
1905
|
+
readonly stepsInfo: Array<{
|
|
1906
|
+
readonly name: string;
|
|
1907
|
+
readonly isDifferent: boolean;
|
|
1908
|
+
readonly hasBaselineImage: boolean;
|
|
1909
|
+
readonly hasCurrentImage: boolean;
|
|
1910
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
1911
|
+
readonly apiUrls: {
|
|
1912
|
+
readonly baselineImage: string;
|
|
1913
|
+
readonly currentImage: string;
|
|
1914
|
+
readonly checkpointImage: string;
|
|
1915
|
+
readonly checkpointImageThumbnail: string;
|
|
1916
|
+
readonly diffImage: string;
|
|
1917
|
+
readonly sideBySideImage: string;
|
|
1918
|
+
};
|
|
1919
|
+
readonly renderId: Array<string>;
|
|
1920
|
+
}>;
|
|
1921
|
+
readonly steps: number;
|
|
1922
|
+
readonly matches: number;
|
|
1923
|
+
readonly mismatches: number;
|
|
1924
|
+
readonly missing: number;
|
|
1925
|
+
readonly exactMatches: number;
|
|
1926
|
+
readonly strictMatches: number;
|
|
1927
|
+
readonly contentMatches: number;
|
|
1928
|
+
readonly layoutMatches: number;
|
|
1929
|
+
readonly noneMatches: number;
|
|
1930
|
+
readonly reason?: unknown;
|
|
1931
|
+
readonly environment: {
|
|
1932
|
+
environmentId?: string;
|
|
1933
|
+
os?: string;
|
|
1934
|
+
displayOs?: string;
|
|
1935
|
+
hostingApp?: string;
|
|
1936
|
+
displayHostingApp?: string;
|
|
1937
|
+
deviceName?: string;
|
|
1938
|
+
viewportSize?: { width: number; height: number; };
|
|
1939
|
+
userAgent?: string;
|
|
1940
|
+
ecSessionId?: string;
|
|
1941
|
+
rawEnvironment?: Record<string, any>;
|
|
1942
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1943
|
+
requested?: ({ name?: string; width: number; height: number; } | { chromeEmulationInfo: { deviceName: string; screenOrientation?: string; }; } | { iosDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; } | { androidDeviceInfo: { deviceName: string; version?: string; screenOrientation?: string; }; }) & {
|
|
1944
|
+
environmentId?: string;
|
|
1945
|
+
os?: string;
|
|
1946
|
+
displayOs?: string;
|
|
1947
|
+
hostingApp?: string;
|
|
1948
|
+
displayHostingApp?: string;
|
|
1949
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
1950
|
+
fallbackBaselineId?: string;
|
|
1951
|
+
};
|
|
1952
|
+
fallbackBaselineId?: string;
|
|
1953
|
+
};
|
|
1954
|
+
};
|
|
1955
|
+
toString(): string;
|
|
894
1956
|
}>;
|
|
895
1957
|
export type EyesPluginConfig = {
|
|
896
1958
|
tapDirPath: string;
|