@applitools/eyes-testcafe 6.2.5 → 6.2.7
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 +74 -0
- package/package.json +3 -3
- package/types/index.d.ts +12 -42
package/CHANGELOG.md
CHANGED
|
@@ -13,6 +13,80 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
## [6.2.7](https://github.com/Applitools-Dev/sdk/compare/js/eyes-testcafe@6.2.6...js/eyes-testcafe@6.2.7) (2024-08-12)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Dependencies
|
|
20
|
+
|
|
21
|
+
* @applitools/dom-capture bumped to 11.3.1
|
|
22
|
+
#### Performance Improvements
|
|
23
|
+
|
|
24
|
+
* link tag without href ([#2450](https://github.com/Applitools-Dev/sdk/issues/2450)) ([523c3cd](https://github.com/Applitools-Dev/sdk/commit/523c3cd1cb003e9144015885b522e1d82e616b7a))
|
|
25
|
+
* @applitools/core bumped to 4.18.1
|
|
26
|
+
#### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* layoutbreakpoints stale dom ([#2456](https://github.com/Applitools-Dev/sdk/issues/2456)) ([a4329d6](https://github.com/Applitools-Dev/sdk/commit/a4329d6d280d27763e0c8ff6374bd26861183939))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
* @applitools/eyes bumped to 1.22.1
|
|
33
|
+
#### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* update ios devices enums ([9b4614f](https://github.com/Applitools-Dev/sdk/commit/9b4614f09bbbe42cf99824d76893f9067aab2cc4))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## [6.2.6](https://github.com/Applitools-Dev/sdk/compare/js/eyes-testcafe@6.2.5...js/eyes-testcafe@6.2.6) (2024-07-23)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Dependencies
|
|
44
|
+
|
|
45
|
+
* @applitools/driver bumped to 1.18.0
|
|
46
|
+
#### Features
|
|
47
|
+
|
|
48
|
+
* disable broker url cache ([#2428](https://github.com/Applitools-Dev/sdk/issues/2428)) ([cb8d5fe](https://github.com/Applitools-Dev/sdk/commit/cb8d5fefb13d3ab42984d2bd4d4ac3d4e10646b0))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
#### Bug Fixes
|
|
52
|
+
|
|
53
|
+
* executing web script on mobile environment ([#2380](https://github.com/Applitools-Dev/sdk/issues/2380)) ([da2e551](https://github.com/Applitools-Dev/sdk/commit/da2e551e01082d3cc21b9da5b43e6680233c080d))
|
|
54
|
+
* @applitools/ufg-client bumped to 1.12.3
|
|
55
|
+
#### Bug Fixes
|
|
56
|
+
|
|
57
|
+
* update makeUploadResource to include apiKey in the cache key ([#2411](https://github.com/Applitools-Dev/sdk/issues/2411)) ([4114c58](https://github.com/Applitools-Dev/sdk/commit/4114c58ec16fa855374b23810cef1e36d4bb53a7))
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
#### Performance Improvements
|
|
61
|
+
|
|
62
|
+
* trim file content when logging it ([#2437](https://github.com/Applitools-Dev/sdk/issues/2437)) ([02ec1f7](https://github.com/Applitools-Dev/sdk/commit/02ec1f79a323af2e89a7428b75212707c761d1ca))
|
|
63
|
+
* @applitools/core bumped to 4.18.0
|
|
64
|
+
#### Features
|
|
65
|
+
|
|
66
|
+
* disable broker url cache ([#2428](https://github.com/Applitools-Dev/sdk/issues/2428)) ([cb8d5fe](https://github.com/Applitools-Dev/sdk/commit/cb8d5fefb13d3ab42984d2bd4d4ac3d4e10646b0))
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.11
|
|
71
|
+
|
|
72
|
+
* @applitools/spec-driver-selenium bumped to 1.5.82
|
|
73
|
+
|
|
74
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.11
|
|
75
|
+
|
|
76
|
+
* @applitools/screenshoter bumped to 3.8.35
|
|
77
|
+
|
|
78
|
+
* @applitools/nml-client bumped to 1.8.9
|
|
79
|
+
|
|
80
|
+
* @applitools/ec-client bumped to 1.9.3
|
|
81
|
+
|
|
82
|
+
* @applitools/eyes bumped to 1.22.0
|
|
83
|
+
#### Features
|
|
84
|
+
|
|
85
|
+
* disable broker url cache ([#2428](https://github.com/Applitools-Dev/sdk/issues/2428)) ([cb8d5fe](https://github.com/Applitools-Dev/sdk/commit/cb8d5fefb13d3ab42984d2bd4d4ac3d4e10646b0))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
16
90
|
## [6.2.5](https://github.com/Applitools-Dev/sdk/compare/js/eyes-testcafe@6.2.4...js/eyes-testcafe@6.2.5) (2024-06-26)
|
|
17
91
|
|
|
18
92
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-testcafe",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.7",
|
|
4
4
|
"description": "Applitools Eyes SDK for TestCafe",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-testcafe",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"up:framework": "echo \"$(jq '.devDependencies.testcafe = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@applitools/driver": "1.
|
|
72
|
-
"@applitools/eyes": "1.
|
|
71
|
+
"@applitools/driver": "1.18.0",
|
|
72
|
+
"@applitools/eyes": "1.22.1",
|
|
73
73
|
"@applitools/utils": "1.7.4"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
package/types/index.d.ts
CHANGED
|
@@ -358,11 +358,12 @@ export type ConfigurationPlain = {
|
|
|
358
358
|
rotation?: undefined | ImageRotationPlain;
|
|
359
359
|
scaleRatio?: undefined | number;
|
|
360
360
|
concurrentSessions?: undefined | number;
|
|
361
|
-
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone
|
|
361
|
+
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" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>;
|
|
362
362
|
visualGridOptions?: undefined | Record<string, any>;
|
|
363
363
|
layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
|
|
364
364
|
disableBrowserFetching?: undefined | boolean;
|
|
365
365
|
waitBeforeCapture?: undefined | number;
|
|
366
|
+
disableNMLUrlCache?: undefined | boolean;
|
|
366
367
|
};
|
|
367
368
|
export class Configuration implements Required<ConfigurationPlain> {
|
|
368
369
|
constructor(config?: undefined | ConfigurationPlain);
|
|
@@ -579,9 +580,9 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
579
580
|
set concurrentSessions(concurrentSessions: number);
|
|
580
581
|
getConcurrentSessions(): number;
|
|
581
582
|
setConcurrentSessions(concurrentSessions: number): Configuration;
|
|
582
|
-
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone
|
|
583
|
-
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone
|
|
584
|
-
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone
|
|
583
|
+
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" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>;
|
|
584
|
+
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" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>);
|
|
585
|
+
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" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>;
|
|
585
586
|
setBrowsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
586
587
|
addBrowsers(...browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
587
588
|
addBrowser(browserInfo: (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })): Configuration;
|
|
@@ -589,7 +590,7 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
589
590
|
addDeviceEmulation(deviceName: DeviceNamePlain, screenOrientation?: undefined | ScreenOrientationPlain): Configuration;
|
|
590
591
|
addMobileDevice(deviceName: AndroidDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
|
|
591
592
|
addMobileDevice(deviceName: IosDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
|
|
592
|
-
addMultiDeviceTarget(deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone
|
|
593
|
+
addMultiDeviceTarget(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" | "iPhone 14 Pro" | "iPhone 14 Plus"): Configuration;
|
|
593
594
|
get visualGridOptions(): { [key: string]: any; };
|
|
594
595
|
set visualGridOptions(visualGridOptions: { [key: string]: any; });
|
|
595
596
|
getVisualGridOptions(): { [key: string]: any; };
|
|
@@ -607,6 +608,10 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
607
608
|
set dontCloseBatches(dontCloseBatches: boolean);
|
|
608
609
|
getDontCloseBatches(): boolean;
|
|
609
610
|
setDontCloseBatches(dontCloseBatches: boolean): Configuration;
|
|
611
|
+
get disableNMLUrlCache(): boolean;
|
|
612
|
+
set disableNMLUrlCache(disableNMLUrlCache: boolean);
|
|
613
|
+
getDisableNMLUrlCache(): boolean;
|
|
614
|
+
setDisableNMLUrlCache(disableNMLUrlCache: boolean): Configuration;
|
|
610
615
|
}
|
|
611
616
|
export class BatchClose {
|
|
612
617
|
static close(settings: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; }): Promise<void>;
|
|
@@ -783,46 +788,21 @@ export enum FailureReport {
|
|
|
783
788
|
IMMEDIATE = 'IMMEDIATE',
|
|
784
789
|
ON_CLOSE = 'ON_CLOSE'
|
|
785
790
|
}
|
|
786
|
-
export type IosDeviceNamePlain = "iPhone X" | "iPhone XR" | "
|
|
791
|
+
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 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 15" | "iPhone 15 Pro Max";
|
|
787
792
|
export enum IosDeviceName {
|
|
788
|
-
iPad_5 = 'iPad (5th generation)',
|
|
789
|
-
iPad_6 = 'iPad (6th generation)',
|
|
790
793
|
iPad_7 = 'iPad (7th generation)',
|
|
791
|
-
iPad_8 = 'iPad (8th generation)',
|
|
792
794
|
iPad_9 = 'iPad (9th generation)',
|
|
793
|
-
iPad_10 = 'iPad (10th generation)',
|
|
794
|
-
iPad_Air_2 = 'iPad Air 2',
|
|
795
|
-
iPad_Air_3 = 'iPad Air (3rd generation)',
|
|
796
795
|
iPad_Air_4 = 'iPad Air (4th generation)',
|
|
797
|
-
iPad_Air_5 = 'iPad Air (5th generation)',
|
|
798
|
-
iPad_mini_4 = 'iPad mini 4',
|
|
799
|
-
iPad_mini_5 = 'iPad mini (5th generation)',
|
|
800
|
-
iPad_mini_6 = 'iPad mini (6th generation)',
|
|
801
|
-
iPad_Pro_9_7_inch_1 = 'iPad Pro (9.7-inch)',
|
|
802
|
-
iPad_Pro_10_5_inch_1 = 'iPad Pro (10.5-inch)',
|
|
803
|
-
iPad_Pro_11_inch_1 = 'iPad Pro (11-inch) (1st generation)',
|
|
804
|
-
iPad_Pro_12_9_inch_1 = 'iPad Pro (12.9-inch) (1st generation)',
|
|
805
|
-
iPad_Pro_11_inch_2 = 'iPad Pro (11-inch) (2nd generation)',
|
|
806
|
-
iPad_Pro_12_9_inch_2 = 'iPad Pro (12.9-inch) (2nd generation)',
|
|
807
|
-
iPad_Pro_11_inch_3 = 'iPad Pro (11-inch) (3rd generation)',
|
|
808
796
|
iPad_Pro_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
809
797
|
iPad_Pro_12_9_inch_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
810
798
|
iPad_Pro_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
811
799
|
iPad_Pro_11_inch_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
812
|
-
iPad_Pro_12_9_inch_4 = 'iPad Pro (12.9-inch) (4th generation)',
|
|
813
|
-
iPad_Pro_12_9_inch_5 = 'iPad Pro (12.9-inch) (5th generation)',
|
|
814
|
-
iPad_Pro_12_9_inch_6 = 'iPad Pro (12.9-inch) (6th generation)',
|
|
815
|
-
iPhone_6s = 'iPhone 6s',
|
|
816
|
-
iPhone_6s_Plus = 'iPhone 6s Plus',
|
|
817
|
-
iPhone_7 = 'iPhone 7',
|
|
818
|
-
iPhone_7_Plus = 'iPhone 7 Plus',
|
|
819
800
|
iPhone_8 = 'iPhone 8',
|
|
820
801
|
iPhone_8_Plus = 'iPhone 8 Plus',
|
|
821
802
|
iPhone_X = 'iPhone X',
|
|
822
803
|
iPhone_XR = 'iPhone XR',
|
|
823
804
|
iPhone_XS = 'iPhone Xs',
|
|
824
805
|
iPhone_Xs = 'iPhone Xs',
|
|
825
|
-
iPhone_Xs_Max = 'iPhone Xs Max',
|
|
826
806
|
iPhone_11 = 'iPhone 11',
|
|
827
807
|
iPhone_11_Pro_Max = 'iPhone 11 Pro Max',
|
|
828
808
|
iPhone_11_Pro = 'iPhone 11 Pro',
|
|
@@ -831,22 +811,12 @@ export enum IosDeviceName {
|
|
|
831
811
|
iPhone_12_Pro_Max = 'iPhone 12 Pro Max',
|
|
832
812
|
iPhone_12_Pro = 'iPhone 12 Pro',
|
|
833
813
|
iPhone_13 = 'iPhone 13',
|
|
834
|
-
iPhone_13_mini = 'iPhone 13 mini',
|
|
835
814
|
iPhone_13_Pro_Max = 'iPhone 13 Pro Max',
|
|
836
815
|
iPhone_13_Pro = 'iPhone 13 Pro',
|
|
837
816
|
iPhone_14 = 'iPhone 14',
|
|
838
|
-
iPhone_14_Plus = 'iPhone 14 Plus',
|
|
839
|
-
iPhone_14_Pro = 'iPhone 14 Pro',
|
|
840
817
|
iPhone_14_Pro_Max = 'iPhone 14 Pro Max',
|
|
841
818
|
iPhone_15 = 'iPhone 15',
|
|
842
|
-
|
|
843
|
-
iPhone_15_Pro = 'iPhone 15 Pro',
|
|
844
|
-
iPhone_15_Pro_Max = 'iPhone 15 Pro Max',
|
|
845
|
-
iPhone_SE = 'iPhone SE (1st generation)',
|
|
846
|
-
iPhone_SE_1 = 'iPhone SE (1st generation)',
|
|
847
|
-
iPhone_SE_2 = 'iPhone SE (2nd generation)',
|
|
848
|
-
iPhone_SE_3 = 'iPhone SE (3rd generation)',
|
|
849
|
-
iPod_touch_7 = 'iPod touch (7th generation)'
|
|
819
|
+
iPhone_15_Pro_Max = 'iPhone 15 Pro Max'
|
|
850
820
|
}
|
|
851
821
|
export type IosVersionPlain = AndroidVersionPlain;
|
|
852
822
|
export enum IosVersion {
|