@applitools/eyes-images 4.28.8 → 4.28.10
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 +67 -0
- package/package.json +2 -2
- package/types/index.d.ts +173 -50
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,72 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [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)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* plain object target syntax ([#2515](https://github.com/Applitools-Dev/sdk/issues/2515)) ([71842b8](https://github.com/Applitools-Dev/sdk/commit/71842b89bd05b68482df7ed16a6483ec716ddf55))
|
|
9
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
10
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Dependencies
|
|
14
|
+
|
|
15
|
+
* @applitools/snippets bumped to 2.5.1
|
|
16
|
+
#### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* isStaleElement error ([#2567](https://github.com/Applitools-Dev/sdk/issues/2567)) ([2675086](https://github.com/Applitools-Dev/sdk/commit/2675086aa28589082249e2958942ee29a5f2ef12))
|
|
19
|
+
* @applitools/screenshoter bumped to 3.9.0
|
|
20
|
+
#### Features
|
|
21
|
+
|
|
22
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
* @applitools/core bumped to 4.21.0
|
|
27
|
+
#### Features
|
|
28
|
+
|
|
29
|
+
* add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
|
|
30
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
31
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
32
|
+
* setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
#### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* don't remove offline execution folder after running ([654e195](https://github.com/Applitools-Dev/sdk/commit/654e195dd50dc7dab93dd907ec26d788549c6e81))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
* @applitools/driver bumped to 1.19.3
|
|
42
|
+
|
|
43
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.15
|
|
44
|
+
|
|
45
|
+
* @applitools/spec-driver-selenium bumped to 1.5.86
|
|
46
|
+
|
|
47
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.15
|
|
48
|
+
|
|
49
|
+
* @applitools/nml-client bumped to 1.8.13
|
|
50
|
+
|
|
51
|
+
* @applitools/core-base bumped to 1.18.0
|
|
52
|
+
#### Features
|
|
53
|
+
|
|
54
|
+
* 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))
|
|
55
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
56
|
+
* setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
|
|
57
|
+
* @applitools/ec-client bumped to 1.9.9
|
|
58
|
+
|
|
59
|
+
* @applitools/eyes bumped to 1.24.0
|
|
60
|
+
#### Features
|
|
61
|
+
|
|
62
|
+
* 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))
|
|
63
|
+
* add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
|
|
64
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
65
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
3
70
|
## [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
71
|
|
|
5
72
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.28.
|
|
3
|
+
"version": "4.28.10",
|
|
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.24.0"
|
|
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 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max"
|
|
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 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "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 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max"
|
|
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 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max"
|
|
435
|
-
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max"
|
|
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 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "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 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "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 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "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,6 +442,8 @@ 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;
|
|
@@ -461,8 +464,6 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
461
464
|
addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
|
|
462
465
|
addMultiDeviceTarget(deviceName: "iPhone 13 mini"): 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,7 +1007,13 @@ 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 {
|
|
@@ -908,7 +1056,7 @@ export enum IosVersion {
|
|
|
908
1056
|
ONE_VERSION_BACK = 'latest-1',
|
|
909
1057
|
LATEST_ONE_VERSION_BACK = 'latest-1'
|
|
910
1058
|
}
|
|
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" | "
|
|
1059
|
+
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
1060
|
export enum AndroidDeviceName {
|
|
913
1061
|
Galaxy_S20 = 'Galaxy S20',
|
|
914
1062
|
Galaxy_S20_Plus = 'Galaxy S20 Plus',
|
|
@@ -945,7 +1093,7 @@ export enum AndroidVersion {
|
|
|
945
1093
|
LATEST = 'latest',
|
|
946
1094
|
ONE_VERSION_BACK = 'latest-1'
|
|
947
1095
|
}
|
|
948
|
-
export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Exact";
|
|
1096
|
+
export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
949
1097
|
export enum MatchLevel {
|
|
950
1098
|
None = 'None',
|
|
951
1099
|
LegacyLayout = 'Layout1',
|
|
@@ -954,6 +1102,7 @@ export enum MatchLevel {
|
|
|
954
1102
|
Content = 'Content',
|
|
955
1103
|
IgnoreColors = 'IgnoreColors',
|
|
956
1104
|
Strict = 'Strict',
|
|
1105
|
+
Dynamic = 'Dynamic',
|
|
957
1106
|
Exact = 'Exact'
|
|
958
1107
|
}
|
|
959
1108
|
export type ScreenOrientationPlain = "portrait" | "landscape";
|
|
@@ -1003,6 +1152,15 @@ export enum AccessibilityStatus {
|
|
|
1003
1152
|
Passed = 'Passed',
|
|
1004
1153
|
Failed = 'Failed'
|
|
1005
1154
|
}
|
|
1155
|
+
export type DynamicTextTypePlain = "TextField" | "Number" | "Date" | "Link" | "Email" | "Currency";
|
|
1156
|
+
export enum DynamicTextType {
|
|
1157
|
+
TextField = 'TextField',
|
|
1158
|
+
Number = 'Number',
|
|
1159
|
+
Date = 'Date',
|
|
1160
|
+
Link = 'Link',
|
|
1161
|
+
Email = 'Email',
|
|
1162
|
+
Currency = 'Currency'
|
|
1163
|
+
}
|
|
1006
1164
|
export class EyesError extends Error {
|
|
1007
1165
|
}
|
|
1008
1166
|
export class TestFailedError extends EyesError {
|
|
@@ -1091,44 +1249,6 @@ export type Image = {
|
|
|
1091
1249
|
locationInView?: undefined | LocationPlain;
|
|
1092
1250
|
fullViewSize?: undefined | RectangleSizePlain;
|
|
1093
1251
|
};
|
|
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
1252
|
export type TargetImage = {
|
|
1133
1253
|
image(image: string): CheckSettingsImage;
|
|
1134
1254
|
image(image: Buffer): CheckSettingsImage;
|
|
@@ -1468,6 +1588,7 @@ export type ApiUrlsPlain = {
|
|
|
1468
1588
|
readonly checkpointImage: string;
|
|
1469
1589
|
readonly checkpointImageThumbnail: string;
|
|
1470
1590
|
readonly diffImage: string;
|
|
1591
|
+
readonly sideBySideImage: string;
|
|
1471
1592
|
};
|
|
1472
1593
|
export class ApiUrls implements Required<ApiUrlsPlain> {
|
|
1473
1594
|
get baselineImage(): string;
|
|
@@ -1485,6 +1606,8 @@ export class ApiUrls implements Required<ApiUrlsPlain> {
|
|
|
1485
1606
|
get diffImage(): string;
|
|
1486
1607
|
getDiffImage(): string;
|
|
1487
1608
|
setDiffImage(diffImage: string): void;
|
|
1609
|
+
get sideBySideImage(): string;
|
|
1610
|
+
getSideBySideImage(): string;
|
|
1488
1611
|
}
|
|
1489
1612
|
export type AppUrlsPlain = { readonly step: string; readonly stepEditor: string; };
|
|
1490
1613
|
export class AppUrls implements Required<AppUrlsPlain> {
|