@applitools/eyes-images 4.28.8 → 4.28.11
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 +81 -0
- package/package.json +2 -2
- package/types/index.d.ts +193 -59
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,86 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.28.11](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.28.10...js/eyes-images@4.28.11) (2024-10-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/screenshoter bumped to 3.9.2
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* test in screenshoter web ([f068dbe](https://github.com/Applitools-Dev/sdk/commit/f068dbe9036163fb3e316411cfd9f47a226d7c9c))
|
|
12
|
+
* @applitools/core bumped to 4.21.2
|
|
13
|
+
|
|
14
|
+
* @applitools/eyes bumped to 1.25.1
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [4.28.10](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images-v4.28.9...js/eyes-images@4.28.10) (2024-10-21)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* plain object target syntax ([#2515](https://github.com/Applitools-Dev/sdk/issues/2515)) ([71842b8](https://github.com/Applitools-Dev/sdk/commit/71842b89bd05b68482df7ed16a6483ec716ddf55))
|
|
23
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
24
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
* @applitools/snippets bumped to 2.5.1
|
|
30
|
+
#### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* isStaleElement error ([#2567](https://github.com/Applitools-Dev/sdk/issues/2567)) ([2675086](https://github.com/Applitools-Dev/sdk/commit/2675086aa28589082249e2958942ee29a5f2ef12))
|
|
33
|
+
* @applitools/screenshoter bumped to 3.9.0
|
|
34
|
+
#### Features
|
|
35
|
+
|
|
36
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
* @applitools/core bumped to 4.21.0
|
|
41
|
+
#### Features
|
|
42
|
+
|
|
43
|
+
* add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
|
|
44
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
45
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
46
|
+
* setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
#### Bug Fixes
|
|
50
|
+
|
|
51
|
+
* don't remove offline execution folder after running ([654e195](https://github.com/Applitools-Dev/sdk/commit/654e195dd50dc7dab93dd907ec26d788549c6e81))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
* @applitools/driver bumped to 1.19.3
|
|
56
|
+
|
|
57
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.15
|
|
58
|
+
|
|
59
|
+
* @applitools/spec-driver-selenium bumped to 1.5.86
|
|
60
|
+
|
|
61
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.15
|
|
62
|
+
|
|
63
|
+
* @applitools/nml-client bumped to 1.8.13
|
|
64
|
+
|
|
65
|
+
* @applitools/core-base bumped to 1.18.0
|
|
66
|
+
#### Features
|
|
67
|
+
|
|
68
|
+
* ability to download side by side with highlighted diffs (2419) ([#2530](https://github.com/Applitools-Dev/sdk/issues/2530)) ([e06ce69](https://github.com/Applitools-Dev/sdk/commit/e06ce699f30e9e444ac58dafdf5989ff1c96ca1c))
|
|
69
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
70
|
+
* setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
|
|
71
|
+
* @applitools/ec-client bumped to 1.9.9
|
|
72
|
+
|
|
73
|
+
* @applitools/eyes bumped to 1.24.0
|
|
74
|
+
#### Features
|
|
75
|
+
|
|
76
|
+
* ability to download side by side with highlighted diffs (2419) ([#2530](https://github.com/Applitools-Dev/sdk/issues/2530)) ([e06ce69](https://github.com/Applitools-Dev/sdk/commit/e06ce699f30e9e444ac58dafdf5989ff1c96ca1c))
|
|
77
|
+
* add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
|
|
78
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
79
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
3
84
|
## [4.28.8](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.28.7...js/eyes-images@4.28.8) (2024-09-10)
|
|
4
85
|
|
|
5
86
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.28.
|
|
3
|
+
"version": "4.28.11",
|
|
4
4
|
"description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-images",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"test:coverage": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-images' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15}"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@applitools/eyes": "1.
|
|
43
|
+
"@applitools/eyes": "1.25.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@applitools/api-extractor": "^1.2.22",
|
package/types/index.d.ts
CHANGED
|
@@ -207,12 +207,13 @@ export type ConfigurationPlain = {
|
|
|
207
207
|
rotation?: undefined | ImageRotationPlain;
|
|
208
208
|
scaleRatio?: undefined | number;
|
|
209
209
|
concurrentSessions?: undefined | number;
|
|
210
|
-
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
210
|
+
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { 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"; }; })>;
|
|
211
211
|
visualGridOptions?: undefined | Record<string, any>;
|
|
212
212
|
layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
|
|
213
213
|
disableBrowserFetching?: undefined | boolean;
|
|
214
214
|
waitBeforeCapture?: undefined | number;
|
|
215
215
|
disableNMLUrlCache?: undefined | boolean;
|
|
216
|
+
captureStatusBar?: undefined | boolean;
|
|
216
217
|
};
|
|
217
218
|
export class Configuration implements Required<ConfigurationPlain> {
|
|
218
219
|
constructor(config?: undefined | ConfigurationPlain);
|
|
@@ -430,9 +431,9 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
430
431
|
set concurrentSessions(concurrentSessions: number);
|
|
431
432
|
getConcurrentSessions(): number;
|
|
432
433
|
setConcurrentSessions(concurrentSessions: number): Configuration;
|
|
433
|
-
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
434
|
-
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
435
|
-
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
434
|
+
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { 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"; }; })>;
|
|
435
|
+
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { 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"; }; })>);
|
|
436
|
+
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { 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"; }; })>;
|
|
436
437
|
setBrowsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
437
438
|
addBrowsers(...browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
438
439
|
addBrowser(browserInfo: (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })): Configuration;
|
|
@@ -441,28 +442,28 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
441
442
|
addMobileDevice(deviceName: AndroidDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
|
|
442
443
|
addMobileDevice(deviceName: IosDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
|
|
443
444
|
addMultiDeviceTarget(deviceName: "iPhone X"): Configuration;
|
|
445
|
+
addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
|
|
446
|
+
addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
|
|
444
447
|
addMultiDeviceTarget(deviceName: "iPhone XR"): Configuration;
|
|
445
448
|
addMultiDeviceTarget(deviceName: "iPhone 11"): Configuration;
|
|
446
449
|
addMultiDeviceTarget(deviceName: "iPhone 11 Pro Max"): Configuration;
|
|
447
450
|
addMultiDeviceTarget(deviceName: "iPhone 11 Pro"): Configuration;
|
|
448
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
449
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
451
|
+
addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
|
|
452
|
+
addMultiDeviceTarget(deviceName: "iPhone SE (3rd generation)"): Configuration;
|
|
450
453
|
addMultiDeviceTarget(deviceName: "iPhone Xs"): Configuration;
|
|
451
454
|
addMultiDeviceTarget(deviceName: "iPhone 12"): Configuration;
|
|
452
455
|
addMultiDeviceTarget(deviceName: "iPhone 12 mini"): Configuration;
|
|
453
456
|
addMultiDeviceTarget(deviceName: "iPhone 12 Pro Max"): Configuration;
|
|
454
457
|
addMultiDeviceTarget(deviceName: "iPhone 12 Pro"): Configuration;
|
|
455
458
|
addMultiDeviceTarget(deviceName: "iPhone 13"): Configuration;
|
|
459
|
+
addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
|
|
456
460
|
addMultiDeviceTarget(deviceName: "iPhone 13 Pro Max"): Configuration;
|
|
457
461
|
addMultiDeviceTarget(deviceName: "iPhone 13 Pro"): Configuration;
|
|
458
462
|
addMultiDeviceTarget(deviceName: "iPhone 14"): Configuration;
|
|
459
463
|
addMultiDeviceTarget(deviceName: "iPhone 14 Pro Max"): Configuration;
|
|
460
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
461
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
462
|
-
addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
|
|
464
|
+
addMultiDeviceTarget(deviceName: "iPhone 8"): Configuration;
|
|
465
|
+
addMultiDeviceTarget(deviceName: "iPhone 8 Plus"): Configuration;
|
|
463
466
|
addMultiDeviceTarget(deviceName: "iPhone Xs Max"): Configuration;
|
|
464
|
-
addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
|
|
465
|
-
addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
|
|
466
467
|
get visualGridOptions(): { [key: string]: any; };
|
|
467
468
|
set visualGridOptions(visualGridOptions: { [key: string]: any; });
|
|
468
469
|
getVisualGridOptions(): { [key: string]: any; };
|
|
@@ -486,8 +487,98 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
486
487
|
set disableNMLUrlCache(disableNMLUrlCache: boolean);
|
|
487
488
|
getDisableNMLUrlCache(): boolean;
|
|
488
489
|
setDisableNMLUrlCache(disableNMLUrlCache: boolean): Configuration;
|
|
490
|
+
get captureStatusBar(): boolean;
|
|
491
|
+
set captureStatusBar(captureStatusBar: boolean);
|
|
492
|
+
getCaptureStatusBar(): boolean;
|
|
493
|
+
setCaptureStatusBar(captureStatusBar: boolean): Configuration;
|
|
489
494
|
}
|
|
490
|
-
export type
|
|
495
|
+
export type CheckSettingsImagePlain = {
|
|
496
|
+
name?: undefined | string;
|
|
497
|
+
region?: undefined | RegionPlain;
|
|
498
|
+
matchLevel?: undefined | MatchLevelPlain;
|
|
499
|
+
useDom?: undefined | boolean;
|
|
500
|
+
sendDom?: undefined | boolean;
|
|
501
|
+
enablePatterns?: undefined | boolean;
|
|
502
|
+
ignoreDisplacements?: undefined | boolean;
|
|
503
|
+
ignoreMismatch?: undefined | boolean;
|
|
504
|
+
ignoreCaret?: undefined | boolean;
|
|
505
|
+
ignoreRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
506
|
+
layoutRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
507
|
+
strictRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
508
|
+
contentRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
509
|
+
floatingRegions?: undefined | Array<RegionPlain | {
|
|
510
|
+
region: RegionPlain;
|
|
511
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
512
|
+
regionId?: undefined | string;
|
|
513
|
+
offset?: undefined | { top?: undefined | number; bottom?: undefined | number; left?: undefined | number; right?: undefined | number; };
|
|
514
|
+
} | {
|
|
515
|
+
region: RegionPlain;
|
|
516
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
517
|
+
regionId?: undefined | string;
|
|
518
|
+
maxUpOffset?: undefined | number;
|
|
519
|
+
maxDownOffset?: undefined | number;
|
|
520
|
+
maxLeftOffset?: undefined | number;
|
|
521
|
+
maxRightOffset?: undefined | number;
|
|
522
|
+
}>;
|
|
523
|
+
accessibilityRegions?: undefined | Array<RegionPlain | {
|
|
524
|
+
region: RegionPlain;
|
|
525
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
526
|
+
regionId?: undefined | string;
|
|
527
|
+
type?: undefined | AccessibilityRegionTypePlain;
|
|
528
|
+
}>;
|
|
529
|
+
dynamicRegions?: undefined | Array<RegionPlain | {
|
|
530
|
+
region: RegionPlain;
|
|
531
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
532
|
+
regionId?: undefined | string;
|
|
533
|
+
type?: undefined | string | Array<string>;
|
|
534
|
+
}>;
|
|
535
|
+
pageId?: undefined | string;
|
|
536
|
+
variationGroupId?: undefined | string;
|
|
537
|
+
densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
|
|
538
|
+
};
|
|
539
|
+
export type CheckSettingsAutomationPlain = {
|
|
540
|
+
name?: undefined | string;
|
|
541
|
+
region?: undefined | (RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; })));
|
|
542
|
+
matchLevel?: undefined | MatchLevelPlain;
|
|
543
|
+
useDom?: undefined | boolean;
|
|
544
|
+
sendDom?: undefined | boolean;
|
|
545
|
+
enablePatterns?: undefined | boolean;
|
|
546
|
+
ignoreDisplacements?: undefined | boolean;
|
|
547
|
+
ignoreMismatch?: undefined | boolean;
|
|
548
|
+
ignoreCaret?: undefined | boolean;
|
|
549
|
+
ignoreRegions?: undefined | Array<(RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }))) | { region: RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; })); padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
550
|
+
layoutRegions?: undefined | Array<(RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }))) | { region: RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; })); padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
551
|
+
strictRegions?: undefined | Array<(RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }))) | { region: RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; })); padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
552
|
+
contentRegions?: undefined | Array<(RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }))) | { region: RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; })); padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
553
|
+
floatingRegions?: undefined | Array<(RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }))) | {
|
|
554
|
+
region: RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }));
|
|
555
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
556
|
+
regionId?: undefined | string;
|
|
557
|
+
offset?: undefined | { top?: undefined | number; bottom?: undefined | number; left?: undefined | number; right?: undefined | number; };
|
|
558
|
+
} | {
|
|
559
|
+
region: RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }));
|
|
560
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
561
|
+
regionId?: undefined | string;
|
|
562
|
+
maxUpOffset?: undefined | number;
|
|
563
|
+
maxDownOffset?: undefined | number;
|
|
564
|
+
maxLeftOffset?: undefined | number;
|
|
565
|
+
maxRightOffset?: undefined | number;
|
|
566
|
+
}>;
|
|
567
|
+
accessibilityRegions?: undefined | Array<(RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }))) | {
|
|
568
|
+
region: RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }));
|
|
569
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
570
|
+
regionId?: undefined | string;
|
|
571
|
+
type?: undefined | AccessibilityRegionTypePlain;
|
|
572
|
+
}>;
|
|
573
|
+
dynamicRegions?: undefined | Array<(RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }))) | {
|
|
574
|
+
region: RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }));
|
|
575
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
576
|
+
regionId?: undefined | string;
|
|
577
|
+
type?: undefined | string | Array<string>;
|
|
578
|
+
}>;
|
|
579
|
+
pageId?: undefined | string;
|
|
580
|
+
variationGroupId?: undefined | string;
|
|
581
|
+
densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
|
|
491
582
|
frames?: undefined | Array<{ frame: number | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; })); scrollRootElement?: undefined | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; })); } | (number | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; })))>;
|
|
492
583
|
webview?: undefined | string | boolean;
|
|
493
584
|
scrollRootElement?: undefined | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }));
|
|
@@ -610,11 +701,30 @@ export class CheckSettingsAutomation {
|
|
|
610
701
|
type?: undefined | AccessibilityRegionTypePlain;
|
|
611
702
|
}>): CheckSettingsAutomation;
|
|
612
703
|
accessibilityRegions(type: AccessibilityRegionTypePlain, ...regions: Array<(RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }))) | LegacyRegionPlain>): CheckSettingsAutomation;
|
|
704
|
+
dynamicRegion(region: {
|
|
705
|
+
region: RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }));
|
|
706
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
707
|
+
regionId?: undefined | string;
|
|
708
|
+
type?: undefined | string | Array<string>;
|
|
709
|
+
}): CheckSettingsAutomation;
|
|
710
|
+
dynamicRegion(region: RegionPlain): CheckSettingsAutomation;
|
|
711
|
+
dynamicRegion(region: ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }))): CheckSettingsAutomation;
|
|
712
|
+
dynamicRegion(region: RegionPlain, type?: undefined | string): CheckSettingsAutomation;
|
|
713
|
+
dynamicRegion(region: ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; })), type?: undefined | string): CheckSettingsAutomation;
|
|
714
|
+
dynamicRegion(region: RegionPlain, type?: undefined | Array<string>): CheckSettingsAutomation;
|
|
715
|
+
dynamicRegion(region: ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; })), type?: undefined | Array<string>): CheckSettingsAutomation;
|
|
716
|
+
dynamicRegions(...regions: Array<(RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }))) | {
|
|
717
|
+
region: RegionPlain | ((string | { selector: string; type?: undefined | string; shadow?: undefined | EyesSelector<never>; frame?: undefined | EyesSelector<never>; }));
|
|
718
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
719
|
+
regionId?: undefined | string;
|
|
720
|
+
type?: undefined | string | Array<string>;
|
|
721
|
+
}>): CheckSettingsAutomation;
|
|
613
722
|
matchLevel(matchLevel: MatchLevelPlain): CheckSettingsAutomation;
|
|
614
723
|
layout(): CheckSettingsAutomation;
|
|
615
724
|
exact(): CheckSettingsAutomation;
|
|
616
725
|
strict(): CheckSettingsAutomation;
|
|
617
726
|
ignoreColors(): CheckSettingsAutomation;
|
|
727
|
+
dynamic(): CheckSettingsAutomation;
|
|
618
728
|
content(): CheckSettingsAutomation;
|
|
619
729
|
enablePatterns(enablePatterns?: undefined | boolean): CheckSettingsAutomation;
|
|
620
730
|
ignoreDisplacements(ignoreDisplacements?: undefined | boolean): CheckSettingsAutomation;
|
|
@@ -625,8 +735,8 @@ export class CheckSettingsAutomation {
|
|
|
625
735
|
variationGroupId(variationGroupId: string): CheckSettingsAutomation;
|
|
626
736
|
}
|
|
627
737
|
export class CheckSettingsImage {
|
|
628
|
-
constructor(settings?: undefined | CheckSettingsImage, target?: undefined | Image, parent?: undefined | CheckSettingsImage);
|
|
629
738
|
constructor(settings?: undefined | CheckSettingsImagePlain, target?: undefined | Image, parent?: undefined | CheckSettingsImage);
|
|
739
|
+
constructor(settings?: undefined | CheckSettingsImage, target?: undefined | Image, parent?: undefined | CheckSettingsImage);
|
|
630
740
|
image(image: string): CheckSettingsImage;
|
|
631
741
|
image(image: Buffer): CheckSettingsImage;
|
|
632
742
|
image(image: URL): CheckSettingsImage;
|
|
@@ -714,11 +824,27 @@ export class CheckSettingsImage {
|
|
|
714
824
|
type?: undefined | AccessibilityRegionTypePlain;
|
|
715
825
|
}>): CheckSettingsImage;
|
|
716
826
|
accessibilityRegions(type: AccessibilityRegionTypePlain, ...regions: Array<RegionPlain | LegacyRegionPlain>): CheckSettingsImage;
|
|
827
|
+
dynamicRegion(region: {
|
|
828
|
+
region: RegionPlain;
|
|
829
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
830
|
+
regionId?: undefined | string;
|
|
831
|
+
type?: undefined | string | Array<string>;
|
|
832
|
+
}): CheckSettingsImage;
|
|
833
|
+
dynamicRegion(region: RegionPlain): CheckSettingsImage;
|
|
834
|
+
dynamicRegion(region: RegionPlain, type?: undefined | string): CheckSettingsImage;
|
|
835
|
+
dynamicRegion(region: RegionPlain, type?: undefined | Array<string>): CheckSettingsImage;
|
|
836
|
+
dynamicRegions(...regions: Array<RegionPlain | {
|
|
837
|
+
region: RegionPlain;
|
|
838
|
+
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
839
|
+
regionId?: undefined | string;
|
|
840
|
+
type?: undefined | string | Array<string>;
|
|
841
|
+
}>): CheckSettingsImage;
|
|
717
842
|
matchLevel(matchLevel: MatchLevelPlain): CheckSettingsImage;
|
|
718
843
|
layout(): CheckSettingsImage;
|
|
719
844
|
exact(): CheckSettingsImage;
|
|
720
845
|
strict(): CheckSettingsImage;
|
|
721
846
|
ignoreColors(): CheckSettingsImage;
|
|
847
|
+
dynamic(): CheckSettingsImage;
|
|
722
848
|
content(): CheckSettingsImage;
|
|
723
849
|
enablePatterns(enablePatterns?: undefined | boolean): CheckSettingsImage;
|
|
724
850
|
ignoreDisplacements(ignoreDisplacements?: undefined | boolean): CheckSettingsImage;
|
|
@@ -789,14 +915,19 @@ export enum CorsIframeHandle {
|
|
|
789
915
|
KEEP = 'KEEP',
|
|
790
916
|
SNAPSHOT = 'SNAPSHOT'
|
|
791
917
|
}
|
|
792
|
-
export type DeviceNamePlain = "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "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" | "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" | "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";
|
|
918
|
+
export type DeviceNamePlain = "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";
|
|
793
919
|
export enum DeviceName {
|
|
794
920
|
iPhone_4 = 'iPhone 4',
|
|
795
921
|
iPhone_5SE = 'iPhone 5/SE',
|
|
796
922
|
iPhone_5S_E = 'iPhone 5/SE',
|
|
923
|
+
iPhone_SE_3rd_Gen = 'iPhone SE 3rd Gen',
|
|
797
924
|
iPhone_6_7_8 = 'iPhone 6/7/8',
|
|
798
925
|
iPhone_6_7_8_Plus = 'iPhone 6/7/8 Plus',
|
|
799
926
|
iPhone_X = 'iPhone X',
|
|
927
|
+
iPhone_13_Mini = 'iPhone 13 Mini',
|
|
928
|
+
iPhone_14_Plus = 'iPhone 14 Plus',
|
|
929
|
+
iPhone_14_Pro = 'iPhone 14 Pro',
|
|
930
|
+
iPhone_15_Pro = 'iPhone 15 Pro',
|
|
800
931
|
BlackBerry_Z30 = 'BlackBerry Z30',
|
|
801
932
|
Nexus_4 = 'Nexus 4',
|
|
802
933
|
Nexus_5 = 'Nexus 5',
|
|
@@ -817,6 +948,10 @@ export enum DeviceName {
|
|
|
817
948
|
iPad_Mini = 'iPad Mini',
|
|
818
949
|
iPad = 'iPad',
|
|
819
950
|
iPad_Pro = 'iPad Pro',
|
|
951
|
+
iPad_8th_Gen = 'iPad 8th Gen',
|
|
952
|
+
iPad_10th_Gen = 'iPad 10th Gen',
|
|
953
|
+
iPad_Mini_4th_Gen = 'iPad Mini 4th Gen',
|
|
954
|
+
iPad_Mini_6th_Gen = 'iPad Mini 6th Gen',
|
|
820
955
|
Blackberry_PlayBook = 'Blackberry PlayBook',
|
|
821
956
|
Nexus_10 = 'Nexus 10',
|
|
822
957
|
Nexus_7 = 'Nexus 7',
|
|
@@ -854,6 +989,13 @@ export enum DeviceName {
|
|
|
854
989
|
Galaxy_Note_9 = 'Galaxy Note 9',
|
|
855
990
|
Galaxy_Note_8 = 'Galaxy Note 8',
|
|
856
991
|
Galaxy_Note_4 = 'Galaxy Note 4',
|
|
992
|
+
Galaxy_Tab_A_SM_T510 = 'Galaxy Tab A SM-T510',
|
|
993
|
+
Galaxy_Tab_A7_SM_T500 = 'Galaxy Tab A7 SM-T500',
|
|
994
|
+
Galaxy_Tab_S8 = 'Galaxy Tab S8',
|
|
995
|
+
Galaxy_Tab_A8 = 'Galaxy Tab A8',
|
|
996
|
+
Galaxy_S23 = 'Galaxy S23',
|
|
997
|
+
Galaxy_S23_Ultra = 'Galaxy S23 Ultra',
|
|
998
|
+
Galaxy_A52s = 'Galaxy A52s',
|
|
857
999
|
Pixel_3 = 'Pixel 3',
|
|
858
1000
|
Pixel_3_XL = 'Pixel 3 XL',
|
|
859
1001
|
Pixel_4 = 'Pixel 4',
|
|
@@ -865,24 +1007,32 @@ export enum DeviceName {
|
|
|
865
1007
|
Galaxy_Tab_S7 = 'Galaxy Tab S7',
|
|
866
1008
|
Sony_Xperia_10_II = 'Sony Xperia 10 II',
|
|
867
1009
|
Huawei_Mate_50_Pro = 'Huawei Mate 50 Pro',
|
|
868
|
-
Huawei_Matepad_11 = 'Huawei Matepad 11'
|
|
1010
|
+
Huawei_Matepad_11 = 'Huawei Matepad 11',
|
|
1011
|
+
Huawei_P30 = 'Huawei P30',
|
|
1012
|
+
Xiaomi_Mi_A3 = 'Xiaomi Mi A3',
|
|
1013
|
+
Huawei_P40 = 'Huawei P40',
|
|
1014
|
+
Xiaomi_Redmi_Note_8 = 'Xiaomi Redmi Note 8',
|
|
1015
|
+
Xiaomi_Mi_Poco_X3_Pro = 'Xiaomi Mi Poco X3 Pro',
|
|
1016
|
+
Xiaomi_Poco_X3 = 'Xiaomi Poco X3'
|
|
869
1017
|
}
|
|
870
1018
|
export type FailureReportPlain = "IMMEDIATE" | "ON_CLOSE";
|
|
871
1019
|
export enum FailureReport {
|
|
872
1020
|
IMMEDIATE = 'IMMEDIATE',
|
|
873
1021
|
ON_CLOSE = 'ON_CLOSE'
|
|
874
1022
|
}
|
|
875
|
-
export type IosDeviceNamePlain = "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone
|
|
1023
|
+
export type IosDeviceNamePlain = "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";
|
|
876
1024
|
export enum IosDeviceName {
|
|
877
1025
|
iPad_7 = 'iPad (7th generation)',
|
|
878
1026
|
iPad_9 = 'iPad (9th generation)',
|
|
1027
|
+
iPad_10 = 'iPad (10th generation)',
|
|
1028
|
+
iPad_mini_6 = 'iPad mini (6th generation)',
|
|
879
1029
|
iPad_Air_4 = 'iPad Air (4th generation)',
|
|
880
1030
|
iPad_Pro_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
881
1031
|
iPad_Pro_12_9_inch_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
882
1032
|
iPad_Pro_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
883
1033
|
iPad_Pro_11_inch_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
884
|
-
|
|
885
|
-
|
|
1034
|
+
iPhone_SE_2 = 'iPhone SE (2nd generation)',
|
|
1035
|
+
iPhone_SE_3 = 'iPhone SE (3rd generation)',
|
|
886
1036
|
iPhone_X = 'iPhone X',
|
|
887
1037
|
iPhone_XR = 'iPhone XR',
|
|
888
1038
|
iPhone_XS = 'iPhone Xs',
|
|
@@ -895,12 +1045,21 @@ export enum IosDeviceName {
|
|
|
895
1045
|
iPhone_12_Pro_Max = 'iPhone 12 Pro Max',
|
|
896
1046
|
iPhone_12_Pro = 'iPhone 12 Pro',
|
|
897
1047
|
iPhone_13 = 'iPhone 13',
|
|
1048
|
+
iPhone_13_mini = 'iPhone 13 mini',
|
|
898
1049
|
iPhone_13_Pro_Max = 'iPhone 13 Pro Max',
|
|
899
1050
|
iPhone_13_Pro = 'iPhone 13 Pro',
|
|
900
1051
|
iPhone_14 = 'iPhone 14',
|
|
901
1052
|
iPhone_14_Pro_Max = 'iPhone 14 Pro Max',
|
|
1053
|
+
iPhone_14_Pro = 'iPhone 14 Pro',
|
|
1054
|
+
iPhone_14_Plus = 'iPhone 14 Plus',
|
|
902
1055
|
iPhone_15 = 'iPhone 15',
|
|
903
|
-
iPhone_15_Pro_Max = 'iPhone 15 Pro Max'
|
|
1056
|
+
iPhone_15_Pro_Max = 'iPhone 15 Pro Max',
|
|
1057
|
+
iPhone_15_Pro = 'iPhone 15 Pro',
|
|
1058
|
+
iPhone_15_Plus = 'iPhone 15 Plus',
|
|
1059
|
+
iPhone_16 = 'iPhone 16',
|
|
1060
|
+
iPhone_16_Pro_Max = 'iPhone 16 Pro Max',
|
|
1061
|
+
iPhone_16_Pro = 'iPhone 16 Pro',
|
|
1062
|
+
iPhone_16_Plus = 'iPhone 16 Plus'
|
|
904
1063
|
}
|
|
905
1064
|
export type IosVersionPlain = AndroidVersionPlain;
|
|
906
1065
|
export enum IosVersion {
|
|
@@ -908,7 +1067,7 @@ export enum IosVersion {
|
|
|
908
1067
|
ONE_VERSION_BACK = 'latest-1',
|
|
909
1068
|
LATEST_ONE_VERSION_BACK = 'latest-1'
|
|
910
1069
|
}
|
|
911
|
-
export type AndroidDeviceNamePlain = "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "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" | "
|
|
1070
|
+
export type AndroidDeviceNamePlain = "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";
|
|
912
1071
|
export enum AndroidDeviceName {
|
|
913
1072
|
Galaxy_S20 = 'Galaxy S20',
|
|
914
1073
|
Galaxy_S20_Plus = 'Galaxy S20 Plus',
|
|
@@ -945,7 +1104,7 @@ export enum AndroidVersion {
|
|
|
945
1104
|
LATEST = 'latest',
|
|
946
1105
|
ONE_VERSION_BACK = 'latest-1'
|
|
947
1106
|
}
|
|
948
|
-
export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Exact";
|
|
1107
|
+
export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
949
1108
|
export enum MatchLevel {
|
|
950
1109
|
None = 'None',
|
|
951
1110
|
LegacyLayout = 'Layout1',
|
|
@@ -954,6 +1113,7 @@ export enum MatchLevel {
|
|
|
954
1113
|
Content = 'Content',
|
|
955
1114
|
IgnoreColors = 'IgnoreColors',
|
|
956
1115
|
Strict = 'Strict',
|
|
1116
|
+
Dynamic = 'Dynamic',
|
|
957
1117
|
Exact = 'Exact'
|
|
958
1118
|
}
|
|
959
1119
|
export type ScreenOrientationPlain = "portrait" | "landscape";
|
|
@@ -1003,6 +1163,15 @@ export enum AccessibilityStatus {
|
|
|
1003
1163
|
Passed = 'Passed',
|
|
1004
1164
|
Failed = 'Failed'
|
|
1005
1165
|
}
|
|
1166
|
+
export type DynamicTextTypePlain = "TextField" | "Number" | "Date" | "Link" | "Email" | "Currency";
|
|
1167
|
+
export enum DynamicTextType {
|
|
1168
|
+
TextField = 'TextField',
|
|
1169
|
+
Number = 'Number',
|
|
1170
|
+
Date = 'Date',
|
|
1171
|
+
Link = 'Link',
|
|
1172
|
+
Email = 'Email',
|
|
1173
|
+
Currency = 'Currency'
|
|
1174
|
+
}
|
|
1006
1175
|
export class EyesError extends Error {
|
|
1007
1176
|
}
|
|
1008
1177
|
export class TestFailedError extends EyesError {
|
|
@@ -1091,44 +1260,6 @@ export type Image = {
|
|
|
1091
1260
|
locationInView?: undefined | LocationPlain;
|
|
1092
1261
|
fullViewSize?: undefined | RectangleSizePlain;
|
|
1093
1262
|
};
|
|
1094
|
-
export type CheckSettingsImagePlain = {
|
|
1095
|
-
name?: undefined | string;
|
|
1096
|
-
region?: undefined | RegionPlain;
|
|
1097
|
-
matchLevel?: undefined | MatchLevelPlain;
|
|
1098
|
-
useDom?: undefined | boolean;
|
|
1099
|
-
sendDom?: undefined | boolean;
|
|
1100
|
-
enablePatterns?: undefined | boolean;
|
|
1101
|
-
ignoreDisplacements?: undefined | boolean;
|
|
1102
|
-
ignoreMismatch?: undefined | boolean;
|
|
1103
|
-
ignoreCaret?: undefined | boolean;
|
|
1104
|
-
ignoreRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1105
|
-
layoutRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1106
|
-
strictRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1107
|
-
contentRegions?: undefined | Array<RegionPlain | { region: RegionPlain; padding?: undefined | number | { top: number; bottom: number; left: number; right: number; }; regionId?: undefined | string; }>;
|
|
1108
|
-
floatingRegions?: undefined | Array<RegionPlain | {
|
|
1109
|
-
region: RegionPlain;
|
|
1110
|
-
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1111
|
-
regionId?: undefined | string;
|
|
1112
|
-
offset?: undefined | { top?: undefined | number; bottom?: undefined | number; left?: undefined | number; right?: undefined | number; };
|
|
1113
|
-
} | {
|
|
1114
|
-
region: RegionPlain;
|
|
1115
|
-
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1116
|
-
regionId?: undefined | string;
|
|
1117
|
-
maxUpOffset?: undefined | number;
|
|
1118
|
-
maxDownOffset?: undefined | number;
|
|
1119
|
-
maxLeftOffset?: undefined | number;
|
|
1120
|
-
maxRightOffset?: undefined | number;
|
|
1121
|
-
}>;
|
|
1122
|
-
accessibilityRegions?: undefined | Array<RegionPlain | {
|
|
1123
|
-
region: RegionPlain;
|
|
1124
|
-
padding?: undefined | number | { top: number; bottom: number; left: number; right: number; };
|
|
1125
|
-
regionId?: undefined | string;
|
|
1126
|
-
type?: undefined | AccessibilityRegionTypePlain;
|
|
1127
|
-
}>;
|
|
1128
|
-
pageId?: undefined | string;
|
|
1129
|
-
variationGroupId?: undefined | string;
|
|
1130
|
-
densityMetrics?: undefined | { scaleRatio?: undefined | number; xdpi?: undefined | number; ydpi?: undefined | number; };
|
|
1131
|
-
};
|
|
1132
1263
|
export type TargetImage = {
|
|
1133
1264
|
image(image: string): CheckSettingsImage;
|
|
1134
1265
|
image(image: Buffer): CheckSettingsImage;
|
|
@@ -1468,6 +1599,7 @@ export type ApiUrlsPlain = {
|
|
|
1468
1599
|
readonly checkpointImage: string;
|
|
1469
1600
|
readonly checkpointImageThumbnail: string;
|
|
1470
1601
|
readonly diffImage: string;
|
|
1602
|
+
readonly sideBySideImage: string;
|
|
1471
1603
|
};
|
|
1472
1604
|
export class ApiUrls implements Required<ApiUrlsPlain> {
|
|
1473
1605
|
get baselineImage(): string;
|
|
@@ -1485,6 +1617,8 @@ export class ApiUrls implements Required<ApiUrlsPlain> {
|
|
|
1485
1617
|
get diffImage(): string;
|
|
1486
1618
|
getDiffImage(): string;
|
|
1487
1619
|
setDiffImage(diffImage: string): void;
|
|
1620
|
+
get sideBySideImage(): string;
|
|
1621
|
+
getSideBySideImage(): string;
|
|
1488
1622
|
}
|
|
1489
1623
|
export type AppUrlsPlain = { readonly step: string; readonly stepEditor: string; };
|
|
1490
1624
|
export class AppUrls implements Required<AppUrlsPlain> {
|