@applitools/eyes-cypress 3.46.0 → 3.47.1
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 +111 -0
- package/dist/browser/transformCypressCheckSettings.js +6 -1
- package/package.json +5 -5
- package/src/browser/transformCypressCheckSettings.ts +5 -1
- package/src/expose.ts +0 -6
- package/types/expose.d.ts +299 -1358
package/types/expose.d.ts
CHANGED
|
@@ -256,14 +256,13 @@ export type CypressCheckSettings = {
|
|
|
256
256
|
floating?: FloatingRegion;
|
|
257
257
|
accessibility?: accessibilityRegion;
|
|
258
258
|
scriptHooks?: { beforeCaptureScreenshot: string; };
|
|
259
|
-
browser?: MaybeArray<(
|
|
259
|
+
browser?: MaybeArray<(({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { 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; }>;
|
|
260
260
|
};
|
|
261
261
|
export type CypressEyesConfig = {
|
|
262
|
-
|
|
262
|
+
accessibilityValidation?: AccessibilityValidation;
|
|
263
263
|
agentId?: string;
|
|
264
264
|
apiKey?: string;
|
|
265
|
-
|
|
266
|
-
proxy?: { url: string; username?: string; password?: string; };
|
|
265
|
+
appName?: string;
|
|
267
266
|
autProxy?: {
|
|
268
267
|
url: string;
|
|
269
268
|
username?: string;
|
|
@@ -271,15 +270,8 @@ export type CypressEyesConfig = {
|
|
|
271
270
|
mode?: "Allow" | "Block";
|
|
272
271
|
domains?: Array<string>;
|
|
273
272
|
};
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
removeSession?: boolean;
|
|
277
|
-
appName?: string;
|
|
278
|
-
testName?: string;
|
|
279
|
-
displayName?: string;
|
|
280
|
-
viewportSize?: { width: number; height: number; };
|
|
281
|
-
sessionType?: "SEQUENTIAL" | "PROGRESSION";
|
|
282
|
-
properties?: Array<{ name: string; value: string; }>;
|
|
273
|
+
baselineBranchName?: string;
|
|
274
|
+
baselineEnvName?: string;
|
|
283
275
|
batch?: {
|
|
284
276
|
id?: string;
|
|
285
277
|
name?: string;
|
|
@@ -288,6 +280,14 @@ export type CypressEyesConfig = {
|
|
|
288
280
|
notifyOnCompletion?: boolean;
|
|
289
281
|
properties?: Array<{ name: string; value: string; }>;
|
|
290
282
|
};
|
|
283
|
+
branchName?: string;
|
|
284
|
+
browsersInfo?: Array<({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
285
|
+
captureStatusBar?: boolean;
|
|
286
|
+
compareWithParentBranch?: boolean;
|
|
287
|
+
concurrentSessions?: number;
|
|
288
|
+
connectionTimeout?: number;
|
|
289
|
+
cut?: { top: number; right: number; bottom: number; left: number; } | { x: number; y: number; width: number; height: number; };
|
|
290
|
+
debugScreenshots?: { save: boolean; path?: string; prefix?: string; };
|
|
291
291
|
defaultMatchSettings?: {
|
|
292
292
|
exact?: { minDiffIntensity: number; minDiffWidth: number; minDiffHeight: number; matchThreshold: number; };
|
|
293
293
|
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
@@ -349,65 +349,65 @@ export type CypressEyesConfig = {
|
|
|
349
349
|
}; type?: "IgnoreContrast" | "RegularText" | "LargeText" | "BoldText" | "GraphicalObject"; }>;
|
|
350
350
|
accessibilitySettings?: AccessibilityValidation;
|
|
351
351
|
};
|
|
352
|
-
hostApp?: string;
|
|
353
|
-
hostOS?: string;
|
|
354
|
-
hostAppInfo?: string;
|
|
355
|
-
hostOSInfo?: string;
|
|
356
352
|
deviceInfo?: string;
|
|
357
|
-
|
|
353
|
+
disableBrowserFetching?: boolean;
|
|
354
|
+
disableNMLUrlCache?: boolean;
|
|
355
|
+
displayName?: string;
|
|
356
|
+
dontCloseBatches?: boolean;
|
|
357
|
+
enablePatterns?: boolean;
|
|
358
358
|
environmentName?: string;
|
|
359
|
-
|
|
360
|
-
parentBranchName?: string;
|
|
359
|
+
forceFullPageScreenshot?: boolean;
|
|
361
360
|
gitMergeBaseTimestamp?: string;
|
|
362
|
-
|
|
363
|
-
|
|
361
|
+
hideCaret?: boolean;
|
|
362
|
+
hideScrollbars?: boolean;
|
|
363
|
+
hostApp?: string;
|
|
364
|
+
hostAppInfo?: string;
|
|
365
|
+
hostOS?: string;
|
|
366
|
+
hostOSInfo?: string;
|
|
364
367
|
ignoreBaseline?: boolean;
|
|
368
|
+
ignoreCaret?: boolean;
|
|
369
|
+
ignoreDisplacements?: boolean;
|
|
365
370
|
ignoreGitMergeBase?: boolean;
|
|
371
|
+
isDisabled?: boolean;
|
|
372
|
+
layoutBreakpoints?: boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: boolean; };
|
|
373
|
+
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
374
|
+
matchTimeout?: number;
|
|
375
|
+
mobileOptions?: { keepNavigationBar?: boolean; };
|
|
376
|
+
parentBranchName?: string;
|
|
377
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
378
|
+
proxy?: { url: string; username?: string; password?: string; };
|
|
379
|
+
removeSession?: boolean;
|
|
380
|
+
rotation?: 0 | 270 | -270 | 180 | -180 | 90 | -90;
|
|
381
|
+
saveDiffs?: boolean;
|
|
366
382
|
saveFailedTests?: boolean;
|
|
367
383
|
saveNewTests?: boolean;
|
|
368
|
-
|
|
369
|
-
|
|
384
|
+
scaleRatio?: number;
|
|
385
|
+
scrollRootElement?: Element | EyesSelector<Selector>;
|
|
370
386
|
sendDom?: boolean;
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
waitBeforeScreenshots?: number;
|
|
387
|
+
serverUrl?: string;
|
|
388
|
+
sessionType?: "SEQUENTIAL" | "PROGRESSION";
|
|
374
389
|
stitchMode?: "Scroll" | "CSS" | "Resize";
|
|
375
|
-
hideScrollbars?: boolean;
|
|
376
|
-
hideCaret?: boolean;
|
|
377
390
|
stitchOverlap?: number;
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
scaleRatio?: number;
|
|
382
|
-
concurrentSessions?: number;
|
|
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"; }; })>;
|
|
391
|
+
testName?: string;
|
|
392
|
+
useDom?: boolean;
|
|
393
|
+
viewportSize?: { width: number; height: number; };
|
|
384
394
|
visualGridOptions?: Record<string, any>;
|
|
385
|
-
layoutBreakpoints?: boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: boolean; };
|
|
386
|
-
disableBrowserFetching?: boolean;
|
|
387
395
|
waitBeforeCapture?: number;
|
|
388
|
-
|
|
389
|
-
|
|
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; }>;
|
|
396
|
+
waitBeforeScreenshots?: number;
|
|
397
|
+
browser?: MaybeArray<(({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { 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; }>;
|
|
391
398
|
batchId?: string;
|
|
392
399
|
batchName?: string;
|
|
393
400
|
batchSequence?: string;
|
|
394
401
|
notifyOnCompletion?: boolean;
|
|
395
402
|
batchSequenceName?: string;
|
|
396
403
|
envName?: string;
|
|
397
|
-
accessibilityValidation?: AccessibilityValidation;
|
|
398
|
-
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
399
|
-
ignoreCaret?: boolean;
|
|
400
|
-
ignoreDisplacements?: boolean;
|
|
401
|
-
useDom?: boolean;
|
|
402
|
-
enablePatterns?: boolean;
|
|
403
404
|
scriptHooks?: { beforeCaptureScreenshot: string; };
|
|
404
405
|
};
|
|
405
406
|
export type appliConfFile = {
|
|
406
|
-
|
|
407
|
+
accessibilityValidation?: AccessibilityValidation;
|
|
407
408
|
agentId?: string;
|
|
408
409
|
apiKey?: string;
|
|
409
|
-
|
|
410
|
-
proxy?: { url: string; username?: string; password?: string; };
|
|
410
|
+
appName?: string;
|
|
411
411
|
autProxy?: {
|
|
412
412
|
url: string;
|
|
413
413
|
username?: string;
|
|
@@ -415,15 +415,8 @@ export type appliConfFile = {
|
|
|
415
415
|
mode?: "Allow" | "Block";
|
|
416
416
|
domains?: Array<string>;
|
|
417
417
|
};
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
removeSession?: boolean;
|
|
421
|
-
appName?: string;
|
|
422
|
-
testName?: string;
|
|
423
|
-
displayName?: string;
|
|
424
|
-
viewportSize?: { width: number; height: number; };
|
|
425
|
-
sessionType?: "SEQUENTIAL" | "PROGRESSION";
|
|
426
|
-
properties?: Array<{ name: string; value: string; }>;
|
|
418
|
+
baselineBranchName?: string;
|
|
419
|
+
baselineEnvName?: string;
|
|
427
420
|
batch?: {
|
|
428
421
|
id?: string;
|
|
429
422
|
name?: string;
|
|
@@ -432,6 +425,14 @@ export type appliConfFile = {
|
|
|
432
425
|
notifyOnCompletion?: boolean;
|
|
433
426
|
properties?: Array<{ name: string; value: string; }>;
|
|
434
427
|
};
|
|
428
|
+
branchName?: string;
|
|
429
|
+
browsersInfo?: Array<({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
430
|
+
captureStatusBar?: boolean;
|
|
431
|
+
compareWithParentBranch?: boolean;
|
|
432
|
+
concurrentSessions?: number;
|
|
433
|
+
connectionTimeout?: number;
|
|
434
|
+
cut?: { top: number; right: number; bottom: number; left: number; } | { x: number; y: number; width: number; height: number; };
|
|
435
|
+
debugScreenshots?: { save: boolean; path?: string; prefix?: string; };
|
|
435
436
|
defaultMatchSettings?: {
|
|
436
437
|
exact?: { minDiffIntensity: number; minDiffWidth: number; minDiffHeight: number; matchThreshold: number; };
|
|
437
438
|
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
@@ -493,57 +494,58 @@ export type appliConfFile = {
|
|
|
493
494
|
}; type?: "IgnoreContrast" | "RegularText" | "LargeText" | "BoldText" | "GraphicalObject"; }>;
|
|
494
495
|
accessibilitySettings?: AccessibilityValidation;
|
|
495
496
|
};
|
|
496
|
-
hostApp?: string;
|
|
497
|
-
hostOS?: string;
|
|
498
|
-
hostAppInfo?: string;
|
|
499
|
-
hostOSInfo?: string;
|
|
500
497
|
deviceInfo?: string;
|
|
501
|
-
|
|
498
|
+
disableBrowserFetching?: boolean;
|
|
499
|
+
disableNMLUrlCache?: boolean;
|
|
500
|
+
displayName?: string;
|
|
501
|
+
dontCloseBatches?: boolean;
|
|
502
|
+
enablePatterns?: boolean;
|
|
502
503
|
environmentName?: string;
|
|
503
|
-
|
|
504
|
-
parentBranchName?: string;
|
|
504
|
+
forceFullPageScreenshot?: boolean;
|
|
505
505
|
gitMergeBaseTimestamp?: string;
|
|
506
|
-
|
|
507
|
-
|
|
506
|
+
hideCaret?: boolean;
|
|
507
|
+
hideScrollbars?: boolean;
|
|
508
|
+
hostApp?: string;
|
|
509
|
+
hostAppInfo?: string;
|
|
510
|
+
hostOS?: string;
|
|
511
|
+
hostOSInfo?: string;
|
|
508
512
|
ignoreBaseline?: boolean;
|
|
513
|
+
ignoreCaret?: boolean;
|
|
514
|
+
ignoreDisplacements?: boolean;
|
|
509
515
|
ignoreGitMergeBase?: boolean;
|
|
516
|
+
isDisabled?: boolean;
|
|
517
|
+
layoutBreakpoints?: boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: boolean; };
|
|
518
|
+
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
519
|
+
matchTimeout?: number;
|
|
520
|
+
mobileOptions?: { keepNavigationBar?: boolean; };
|
|
521
|
+
parentBranchName?: string;
|
|
522
|
+
properties?: Array<{ name: string; value: string; }>;
|
|
523
|
+
proxy?: { url: string; username?: string; password?: string; };
|
|
524
|
+
removeSession?: boolean;
|
|
525
|
+
rotation?: 0 | 270 | -270 | 180 | -180 | 90 | -90;
|
|
526
|
+
saveDiffs?: boolean;
|
|
510
527
|
saveFailedTests?: boolean;
|
|
511
528
|
saveNewTests?: boolean;
|
|
512
|
-
|
|
513
|
-
|
|
529
|
+
scaleRatio?: number;
|
|
530
|
+
scrollRootElement?: Element | EyesSelector<Selector>;
|
|
514
531
|
sendDom?: boolean;
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
waitBeforeScreenshots?: number;
|
|
532
|
+
serverUrl?: string;
|
|
533
|
+
sessionType?: "SEQUENTIAL" | "PROGRESSION";
|
|
518
534
|
stitchMode?: "Scroll" | "CSS" | "Resize";
|
|
519
|
-
hideScrollbars?: boolean;
|
|
520
|
-
hideCaret?: boolean;
|
|
521
535
|
stitchOverlap?: number;
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
scaleRatio?: number;
|
|
526
|
-
concurrentSessions?: number;
|
|
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"; }; })>;
|
|
536
|
+
testName?: string;
|
|
537
|
+
useDom?: boolean;
|
|
538
|
+
viewportSize?: { width: number; height: number; };
|
|
528
539
|
visualGridOptions?: Record<string, any>;
|
|
529
|
-
layoutBreakpoints?: boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: boolean; };
|
|
530
|
-
disableBrowserFetching?: boolean;
|
|
531
540
|
waitBeforeCapture?: number;
|
|
532
|
-
|
|
533
|
-
|
|
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; }>;
|
|
541
|
+
waitBeforeScreenshots?: number;
|
|
542
|
+
browser?: MaybeArray<(({ name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone SE 3rd Gen" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone 13 Mini" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "iPad 8th Gen" | "iPad 10th Gen" | "iPad Mini 4th Gen" | "iPad Mini 6th Gen" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Galaxy Tab A SM-T510" | "Galaxy Tab A7 SM-T500" | "Galaxy Tab S8" | "Galaxy Tab A8" | "Galaxy S23" | "Galaxy S23 Ultra" | "Galaxy A52s" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11" | "Huawei P30" | "Xiaomi Mi A3" | "Huawei P40" | "Xiaomi Redmi Note 8" | "Xiaomi Mi Poco X3 Pro" | "Xiaomi Poco X3"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { 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; }>;
|
|
535
543
|
batchId?: string;
|
|
536
544
|
batchName?: string;
|
|
537
545
|
batchSequence?: string;
|
|
538
546
|
notifyOnCompletion?: boolean;
|
|
539
547
|
batchSequenceName?: string;
|
|
540
548
|
envName?: string;
|
|
541
|
-
accessibilityValidation?: AccessibilityValidation;
|
|
542
|
-
matchLevel?: "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
543
|
-
ignoreCaret?: boolean;
|
|
544
|
-
ignoreDisplacements?: boolean;
|
|
545
|
-
useDom?: boolean;
|
|
546
|
-
enablePatterns?: boolean;
|
|
547
549
|
scriptHooks?: { beforeCaptureScreenshot: string; };
|
|
548
550
|
failCypressAfterAllSpecs?: boolean;
|
|
549
551
|
tapDirPath?: string;
|
|
@@ -552,524 +554,81 @@ export type appliConfFile = {
|
|
|
552
554
|
shouldDoPostSpecTasks?: boolean;
|
|
553
555
|
isComponentTest?: boolean;
|
|
554
556
|
};
|
|
555
|
-
export type CypressTestResultsSummary = { getAllResults(): Array<{
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
557
|
+
export type CypressTestResultsSummary = { getAllResults(): Array<{ getTestResults(): {
|
|
558
|
+
getId(): string;
|
|
559
|
+
setId(_id: string): void;
|
|
560
|
+
getName(): string;
|
|
561
|
+
setName(_name: string): void;
|
|
562
|
+
getSecretToken(): string;
|
|
563
|
+
setSecretToken(_secretToken: string): void;
|
|
564
|
+
getStatus(): TestResultsStatus;
|
|
565
|
+
setStatus(_status: TestResultsStatus): void;
|
|
566
|
+
getAppName(): string;
|
|
567
|
+
setAppName(_appName: string): void;
|
|
568
|
+
getBatchName(): string;
|
|
569
|
+
setBatchName(_batchName: string): void;
|
|
570
|
+
getBatchId(): string;
|
|
571
|
+
setBatchId(_batchId: string): void;
|
|
572
|
+
getBranchName(): string;
|
|
573
|
+
setBranchName(_branchName: string): void;
|
|
574
|
+
getHostOS(): string;
|
|
575
|
+
setHostOS(_hostOS: string): void;
|
|
576
|
+
getHostApp(): string;
|
|
577
|
+
setHostApp(_hostApp: string): void;
|
|
578
|
+
getHostDisplaySize(): { getWidth(): number; setWidth(width: number): void; getHeight(): number; setHeight(height: number): void; };
|
|
579
|
+
setHostDisplaySize(_hostDisplaySize: { width: number; height: number; }): void;
|
|
580
|
+
getAccessibilityStatus(): { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
581
|
+
setAccessibilityStatus(_accessibilityStatus: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; }): void;
|
|
582
|
+
getStartedAt(): Date;
|
|
583
|
+
setStartedAt(_startedAt: string | Date): void;
|
|
584
|
+
getDuration(): number;
|
|
585
|
+
setDuration(_duration: number): void;
|
|
586
|
+
getIsNew(): boolean;
|
|
587
|
+
setIsNew(_isNew: boolean): void;
|
|
588
|
+
getIsDifferent(): boolean;
|
|
589
|
+
setIsDifferent(_isDifferent: boolean): void;
|
|
590
|
+
getIsAborted(): boolean;
|
|
591
|
+
setIsAborted(_isAborted: boolean): void;
|
|
592
|
+
getAppUrls(): { getBatch(): string; setBatch(batch: string): void; getSession(): string; setSession(session: string): void; };
|
|
593
|
+
setAppUrls(_appUrls: { readonly batch: string; readonly session: string; }): void;
|
|
594
|
+
getApiUrls(): { getBatch(): string; setBatch(batch: string): void; getSession(): string; setSession(session: string): void; };
|
|
595
|
+
setApiUrls(_apiUrls: { readonly batch: string; readonly session: string; }): void;
|
|
596
|
+
getStepsInfo(): Array<{
|
|
559
597
|
getName(): string;
|
|
560
|
-
setName(
|
|
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;
|
|
598
|
+
setName(value: string): void;
|
|
595
599
|
getIsDifferent(): boolean;
|
|
596
|
-
setIsDifferent(
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
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;
|
|
600
|
+
setIsDifferent(value: boolean): void;
|
|
601
|
+
getHasBaselineImage(): boolean;
|
|
602
|
+
setHasBaselineImage(value: boolean): void;
|
|
603
|
+
getHasCurrentImage(): boolean;
|
|
604
|
+
setHasCurrentImage(hasCurrentImage: boolean): void;
|
|
605
|
+
getAppUrls(): { getStep(): string; setStep(step: string): void; getStepEditor(): string; setStepEditor(stepEditor: string): void; };
|
|
606
|
+
setAppUrls(appUrls: { readonly step: string; readonly stepEditor: string; }): void;
|
|
609
607
|
getApiUrls(): {
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
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;
|
|
608
|
+
getBaselineImage(): string;
|
|
609
|
+
setBaselineImage(setBaselineImage: string): void;
|
|
610
|
+
getCurrentImage(): string;
|
|
611
|
+
setCurrentImage(currentImage: string): void;
|
|
612
|
+
getCheckpointImage(): string;
|
|
613
|
+
setCheckpointImage(checkpointImage: string): void;
|
|
614
|
+
getCheckpointImageThumbnail(): string;
|
|
615
|
+
setCheckpointImageThumbnail(checkpointImageThumbnail: string): void;
|
|
616
|
+
getDiffImage(): string;
|
|
617
|
+
setDiffImage(diffImage: string): void;
|
|
618
|
+
getSideBySideImage(): string;
|
|
1036
619
|
};
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
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<{
|
|
620
|
+
setApiUrls(apiUrls: {
|
|
621
|
+
readonly baselineImage: string;
|
|
622
|
+
readonly currentImage: string;
|
|
623
|
+
readonly checkpointImage: string;
|
|
624
|
+
readonly checkpointImageThumbnail: string;
|
|
625
|
+
readonly diffImage: string;
|
|
626
|
+
readonly sideBySideImage: string;
|
|
627
|
+
}): void;
|
|
628
|
+
getRenderId(): Array<string>;
|
|
629
|
+
setRenderId(renderId: Array<string>): void;
|
|
630
|
+
}>;
|
|
631
|
+
setStepsInfo(_stepInfo: Array<{
|
|
1073
632
|
readonly name: string;
|
|
1074
633
|
readonly isDifferent: boolean;
|
|
1075
634
|
readonly hasBaselineImage: boolean;
|
|
@@ -1084,548 +643,144 @@ export type CypressTestResultsSummary = { getAllResults(): Array<{
|
|
|
1084
643
|
readonly sideBySideImage: string;
|
|
1085
644
|
};
|
|
1086
645
|
readonly renderId: Array<string>;
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
646
|
+
}>): void;
|
|
647
|
+
getSteps(): number;
|
|
648
|
+
setSteps(_steps: number): void;
|
|
649
|
+
getMatches(): number;
|
|
650
|
+
setMatches(_matches: number): void;
|
|
651
|
+
getMismatches(): number;
|
|
652
|
+
setMismatches(_mismatches: number): void;
|
|
653
|
+
getMissing(): number;
|
|
654
|
+
setMissing(_missing: number): void;
|
|
655
|
+
getExactMatches(): number;
|
|
656
|
+
setExactMatches(_exactMatches: number): void;
|
|
657
|
+
getStrictMatches(): number;
|
|
658
|
+
setStrictMatches(_strictMatches: number): void;
|
|
659
|
+
getContentMatches(): number;
|
|
660
|
+
setContentMatches(_contentMatches: number): void;
|
|
661
|
+
getLayoutMatches(): number;
|
|
662
|
+
setLayoutMatches(_layoutMatches: number): void;
|
|
663
|
+
getNoneMatches(): number;
|
|
664
|
+
setNoneMatches(_noneMatches: number): void;
|
|
665
|
+
getUrl(): string;
|
|
666
|
+
setUrl(_url: string): void;
|
|
667
|
+
isPassed(): boolean;
|
|
668
|
+
delete(): Promise<void>;
|
|
669
|
+
deleteSession(): Promise<void>;
|
|
670
|
+
}; 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; }; } | { 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; }; }>; [Symbol.iterator](): Iterator<{ getTestResults(): {
|
|
671
|
+
getId(): string;
|
|
672
|
+
setId(_id: string): void;
|
|
673
|
+
getName(): string;
|
|
674
|
+
setName(_name: string): void;
|
|
675
|
+
getSecretToken(): string;
|
|
676
|
+
setSecretToken(_secretToken: string): void;
|
|
677
|
+
getStatus(): TestResultsStatus;
|
|
678
|
+
setStatus(_status: TestResultsStatus): void;
|
|
679
|
+
getAppName(): string;
|
|
680
|
+
setAppName(_appName: string): void;
|
|
681
|
+
getBatchName(): string;
|
|
682
|
+
setBatchName(_batchName: string): void;
|
|
683
|
+
getBatchId(): string;
|
|
684
|
+
setBatchId(_batchId: string): void;
|
|
685
|
+
getBranchName(): string;
|
|
686
|
+
setBranchName(_branchName: string): void;
|
|
687
|
+
getHostOS(): string;
|
|
688
|
+
setHostOS(_hostOS: string): void;
|
|
689
|
+
getHostApp(): string;
|
|
690
|
+
setHostApp(_hostApp: string): void;
|
|
691
|
+
getHostDisplaySize(): { getWidth(): number; setWidth(width: number): void; getHeight(): number; setHeight(height: number): void; };
|
|
692
|
+
setHostDisplaySize(_hostDisplaySize: { width: number; height: number; }): void;
|
|
693
|
+
getAccessibilityStatus(): { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
694
|
+
setAccessibilityStatus(_accessibilityStatus: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; }): void;
|
|
695
|
+
getStartedAt(): Date;
|
|
696
|
+
setStartedAt(_startedAt: string | Date): void;
|
|
697
|
+
getDuration(): number;
|
|
698
|
+
setDuration(_duration: number): void;
|
|
699
|
+
getIsNew(): boolean;
|
|
700
|
+
setIsNew(_isNew: boolean): void;
|
|
701
|
+
getIsDifferent(): boolean;
|
|
702
|
+
setIsDifferent(_isDifferent: boolean): void;
|
|
703
|
+
getIsAborted(): boolean;
|
|
704
|
+
setIsAborted(_isAborted: boolean): void;
|
|
705
|
+
getAppUrls(): { getBatch(): string; setBatch(batch: string): void; getSession(): string; setSession(session: string): void; };
|
|
706
|
+
setAppUrls(_appUrls: { readonly batch: string; readonly session: string; }): void;
|
|
707
|
+
getApiUrls(): { getBatch(): string; setBatch(batch: string): void; getSession(): string; setSession(session: string): void; };
|
|
708
|
+
setApiUrls(_apiUrls: { readonly batch: string; readonly session: string; }): void;
|
|
709
|
+
getStepsInfo(): Array<{
|
|
1147
710
|
getName(): string;
|
|
1148
|
-
setName(
|
|
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;
|
|
711
|
+
setName(value: string): void;
|
|
1183
712
|
getIsDifferent(): boolean;
|
|
1184
|
-
setIsDifferent(
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
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;
|
|
713
|
+
setIsDifferent(value: boolean): void;
|
|
714
|
+
getHasBaselineImage(): boolean;
|
|
715
|
+
setHasBaselineImage(value: boolean): void;
|
|
716
|
+
getHasCurrentImage(): boolean;
|
|
717
|
+
setHasCurrentImage(hasCurrentImage: boolean): void;
|
|
718
|
+
getAppUrls(): { getStep(): string; setStep(step: string): void; getStepEditor(): string; setStepEditor(stepEditor: string): void; };
|
|
719
|
+
setAppUrls(appUrls: { readonly step: string; readonly stepEditor: string; }): void;
|
|
1197
720
|
getApiUrls(): {
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
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;
|
|
721
|
+
getBaselineImage(): string;
|
|
722
|
+
setBaselineImage(setBaselineImage: string): void;
|
|
723
|
+
getCurrentImage(): string;
|
|
724
|
+
setCurrentImage(currentImage: string): void;
|
|
725
|
+
getCheckpointImage(): string;
|
|
726
|
+
setCheckpointImage(checkpointImage: string): void;
|
|
727
|
+
getCheckpointImageThumbnail(): string;
|
|
728
|
+
setCheckpointImageThumbnail(checkpointImageThumbnail: string): void;
|
|
729
|
+
getDiffImage(): string;
|
|
730
|
+
setDiffImage(diffImage: string): void;
|
|
731
|
+
getSideBySideImage(): string;
|
|
1534
732
|
};
|
|
1535
|
-
|
|
1536
|
-
|
|
733
|
+
setApiUrls(apiUrls: {
|
|
734
|
+
readonly baselineImage: string;
|
|
735
|
+
readonly currentImage: string;
|
|
736
|
+
readonly checkpointImage: string;
|
|
737
|
+
readonly checkpointImageThumbnail: string;
|
|
738
|
+
readonly diffImage: string;
|
|
739
|
+
readonly sideBySideImage: string;
|
|
740
|
+
}): void;
|
|
741
|
+
getRenderId(): Array<string>;
|
|
742
|
+
setRenderId(renderId: Array<string>): void;
|
|
743
|
+
}>;
|
|
744
|
+
setStepsInfo(_stepInfo: Array<{
|
|
1537
745
|
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;
|
|
1549
746
|
readonly isDifferent: boolean;
|
|
1550
|
-
readonly
|
|
1551
|
-
readonly
|
|
1552
|
-
readonly appUrls: { readonly
|
|
1553
|
-
readonly apiUrls: {
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
readonly
|
|
1557
|
-
readonly
|
|
1558
|
-
readonly
|
|
1559
|
-
readonly
|
|
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;
|
|
1603
|
-
};
|
|
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;
|
|
747
|
+
readonly hasBaselineImage: boolean;
|
|
748
|
+
readonly hasCurrentImage: boolean;
|
|
749
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
750
|
+
readonly apiUrls: {
|
|
751
|
+
readonly baselineImage: string;
|
|
752
|
+
readonly currentImage: string;
|
|
753
|
+
readonly checkpointImage: string;
|
|
754
|
+
readonly checkpointImageThumbnail: string;
|
|
755
|
+
readonly diffImage: string;
|
|
756
|
+
readonly sideBySideImage: string;
|
|
1624
757
|
};
|
|
1625
|
-
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
|
|
758
|
+
readonly renderId: Array<string>;
|
|
759
|
+
}>): void;
|
|
760
|
+
getSteps(): number;
|
|
761
|
+
setSteps(_steps: number): void;
|
|
762
|
+
getMatches(): number;
|
|
763
|
+
setMatches(_matches: number): void;
|
|
764
|
+
getMismatches(): number;
|
|
765
|
+
setMismatches(_mismatches: number): void;
|
|
766
|
+
getMissing(): number;
|
|
767
|
+
setMissing(_missing: number): void;
|
|
768
|
+
getExactMatches(): number;
|
|
769
|
+
setExactMatches(_exactMatches: number): void;
|
|
770
|
+
getStrictMatches(): number;
|
|
771
|
+
setStrictMatches(_strictMatches: number): void;
|
|
772
|
+
getContentMatches(): number;
|
|
773
|
+
setContentMatches(_contentMatches: number): void;
|
|
774
|
+
getLayoutMatches(): number;
|
|
775
|
+
setLayoutMatches(_layoutMatches: number): void;
|
|
776
|
+
getNoneMatches(): number;
|
|
777
|
+
setNoneMatches(_noneMatches: number): void;
|
|
778
|
+
getUrl(): string;
|
|
779
|
+
setUrl(_url: string): void;
|
|
780
|
+
isPassed(): boolean;
|
|
781
|
+
delete(): Promise<void>;
|
|
782
|
+
deleteSession(): Promise<void>;
|
|
783
|
+
}; 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; }; } | { 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>; };
|
|
1629
784
|
export type CypressTestResults = Array<{
|
|
1630
785
|
getId(): string;
|
|
1631
786
|
setId(_id: string): void;
|
|
@@ -1647,15 +802,7 @@ export type CypressTestResults = Array<{
|
|
|
1647
802
|
setHostOS(_hostOS: string): void;
|
|
1648
803
|
getHostApp(): string;
|
|
1649
804
|
setHostApp(_hostApp: string): void;
|
|
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
|
-
};
|
|
805
|
+
getHostDisplaySize(): { getWidth(): number; setWidth(width: number): void; getHeight(): number; setHeight(height: number): void; };
|
|
1659
806
|
setHostDisplaySize(_hostDisplaySize: { width: number; height: number; }): void;
|
|
1660
807
|
getAccessibilityStatus(): { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
1661
808
|
setAccessibilityStatus(_accessibilityStatus: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; }): void;
|
|
@@ -1669,25 +816,9 @@ export type CypressTestResults = Array<{
|
|
|
1669
816
|
setIsDifferent(_isDifferent: boolean): void;
|
|
1670
817
|
getIsAborted(): boolean;
|
|
1671
818
|
setIsAborted(_isAborted: boolean): void;
|
|
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
|
-
};
|
|
819
|
+
getAppUrls(): { getBatch(): string; setBatch(batch: string): void; getSession(): string; setSession(session: string): void; };
|
|
1681
820
|
setAppUrls(_appUrls: { readonly batch: string; readonly session: string; }): void;
|
|
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
|
-
};
|
|
821
|
+
getApiUrls(): { getBatch(): string; setBatch(batch: string): void; getSession(): string; setSession(session: string): void; };
|
|
1691
822
|
setApiUrls(_apiUrls: { readonly batch: string; readonly session: string; }): void;
|
|
1692
823
|
getStepsInfo(): Array<{
|
|
1693
824
|
getName(): string;
|
|
@@ -1698,15 +829,7 @@ export type CypressTestResults = Array<{
|
|
|
1698
829
|
setHasBaselineImage(value: boolean): void;
|
|
1699
830
|
getHasCurrentImage(): boolean;
|
|
1700
831
|
setHasCurrentImage(hasCurrentImage: boolean): void;
|
|
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
|
-
};
|
|
832
|
+
getAppUrls(): { getStep(): string; setStep(step: string): void; getStepEditor(): string; setStepEditor(stepEditor: string): void; };
|
|
1710
833
|
setAppUrls(appUrls: { readonly step: string; readonly stepEditor: string; }): void;
|
|
1711
834
|
getApiUrls(): {
|
|
1712
835
|
getBaselineImage(): string;
|
|
@@ -1720,23 +843,6 @@ export type CypressTestResults = Array<{
|
|
|
1720
843
|
getDiffImage(): string;
|
|
1721
844
|
setDiffImage(diffImage: string): void;
|
|
1722
845
|
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;
|
|
1740
846
|
};
|
|
1741
847
|
setApiUrls(apiUrls: {
|
|
1742
848
|
readonly baselineImage: string;
|
|
@@ -1748,39 +854,6 @@ export type CypressTestResults = Array<{
|
|
|
1748
854
|
}): void;
|
|
1749
855
|
getRenderId(): Array<string>;
|
|
1750
856
|
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;
|
|
1784
857
|
}>;
|
|
1785
858
|
setStepsInfo(_stepInfo: Array<{
|
|
1786
859
|
readonly name: string;
|
|
@@ -1821,138 +894,6 @@ export type CypressTestResults = Array<{
|
|
|
1821
894
|
isPassed(): boolean;
|
|
1822
895
|
delete(): Promise<void>;
|
|
1823
896
|
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;
|
|
1956
897
|
}>;
|
|
1957
898
|
export type EyesPluginConfig = {
|
|
1958
899
|
tapDirPath: string;
|