@applitools/eyes-images 4.31.15 → 4.31.17
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 +105 -0
- package/package.json +2 -2
- package/types/index.d.ts +87 -44
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,110 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.31.17](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.31.16...js/eyes-images@4.31.17) (2025-12-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/dom-snapshot bumped to 4.15.3
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* capture JavaScript-modified CSS selectors in nested [@layer](https://github.com/layer) rules ([#3391](https://github.com/Applitools-Dev/sdk/issues/3391)) ([b3bceb5](https://github.com/Applitools-Dev/sdk/commit/b3bceb5bfe894f3548173d23942e09d0e04b7e04))
|
|
12
|
+
* @applitools/core bumped to 4.53.2
|
|
13
|
+
#### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* Upgrade core version ([#3398](https://github.com/Applitools-Dev/sdk/issues/3398)) ([68858c7](https://github.com/Applitools-Dev/sdk/commit/68858c7024e0413c1cc6af68752b1c3a9a04bb0b))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
* @applitools/eyes bumped to 1.36.17
|
|
20
|
+
#### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* capture JavaScript-modified CSS selectors in nested [@layer](https://github.com/layer) rules ([#3391](https://github.com/Applitools-Dev/sdk/issues/3391)) ([b3bceb5](https://github.com/Applitools-Dev/sdk/commit/b3bceb5bfe894f3548173d23942e09d0e04b7e04))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## [4.31.16](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.31.15...js/eyes-images@4.31.16) (2025-11-19)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Dependencies
|
|
31
|
+
|
|
32
|
+
* @applitools/utils bumped to 1.14.0
|
|
33
|
+
#### Features
|
|
34
|
+
|
|
35
|
+
* disable heartbeats whenever no tests are running ([#3344](https://github.com/Applitools-Dev/sdk/issues/3344)) ([b66d28a](https://github.com/Applitools-Dev/sdk/commit/b66d28a7a382f26b68de70c8633c027cb4bdf225))
|
|
36
|
+
* @applitools/nml-client bumped to 1.11.11
|
|
37
|
+
#### Bug Fixes
|
|
38
|
+
|
|
39
|
+
* better nml error messages ([#3311](https://github.com/Applitools-Dev/sdk/issues/3311)) ([3deea01](https://github.com/Applitools-Dev/sdk/commit/3deea0130636c44573adc919b95c1c99e6d194f1))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
* @applitools/core bumped to 4.53.0
|
|
44
|
+
#### Features
|
|
45
|
+
|
|
46
|
+
* disable heartbeats whenever no tests are running ([#3344](https://github.com/Applitools-Dev/sdk/issues/3344)) ([b66d28a](https://github.com/Applitools-Dev/sdk/commit/b66d28a7a382f26b68de70c8633c027cb4bdf225))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
#### Bug Fixes
|
|
50
|
+
|
|
51
|
+
* better nml error messages ([#3311](https://github.com/Applitools-Dev/sdk/issues/3311)) ([3deea01](https://github.com/Applitools-Dev/sdk/commit/3deea0130636c44573adc919b95c1c99e6d194f1))
|
|
52
|
+
* fails to create test with coded dynamic region | AD-11074 ([#3361](https://github.com/Applitools-Dev/sdk/issues/3361)) ([7f8c8cd](https://github.com/Applitools-Dev/sdk/commit/7f8c8cd85c0cd2e5861cd33fbc29c465903258d5))
|
|
53
|
+
* resolved an issue with `matchTimeout` changing `retryTimeout` ([f656f59](https://github.com/Applitools-Dev/sdk/commit/f656f59dbfb7c41fdb569fbc56d2e9daecefb854))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
* @applitools/logger bumped to 2.2.6
|
|
58
|
+
|
|
59
|
+
* @applitools/dom-snapshot bumped to 4.15.1
|
|
60
|
+
|
|
61
|
+
* @applitools/socket bumped to 1.3.7
|
|
62
|
+
|
|
63
|
+
* @applitools/req bumped to 1.8.6
|
|
64
|
+
|
|
65
|
+
* @applitools/image bumped to 1.2.5
|
|
66
|
+
|
|
67
|
+
* @applitools/dom-capture bumped to 11.6.7
|
|
68
|
+
|
|
69
|
+
* @applitools/driver bumped to 1.24.2
|
|
70
|
+
|
|
71
|
+
* @applitools/spec-driver-webdriver bumped to 1.5.2
|
|
72
|
+
|
|
73
|
+
* @applitools/spec-driver-selenium bumped to 1.7.8
|
|
74
|
+
|
|
75
|
+
* @applitools/spec-driver-puppeteer bumped to 1.6.8
|
|
76
|
+
|
|
77
|
+
* @applitools/screenshoter bumped to 3.12.9
|
|
78
|
+
|
|
79
|
+
* @applitools/tunnel-client bumped to 1.11.4
|
|
80
|
+
|
|
81
|
+
* @applitools/ufg-client bumped to 1.18.2
|
|
82
|
+
|
|
83
|
+
* @applitools/core-base bumped to 1.30.0
|
|
84
|
+
#### Features
|
|
85
|
+
|
|
86
|
+
* disable heartbeats whenever no tests are running ([#3344](https://github.com/Applitools-Dev/sdk/issues/3344)) ([b66d28a](https://github.com/Applitools-Dev/sdk/commit/b66d28a7a382f26b68de70c8633c027cb4bdf225))
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
#### Bug Fixes
|
|
90
|
+
|
|
91
|
+
* fails to create test with coded dynamic region | AD-11074 ([#3361](https://github.com/Applitools-Dev/sdk/issues/3361)) ([7f8c8cd](https://github.com/Applitools-Dev/sdk/commit/7f8c8cd85c0cd2e5861cd33fbc29c465903258d5))
|
|
92
|
+
* resolved an issue with `matchTimeout` changing `retryTimeout` ([f656f59](https://github.com/Applitools-Dev/sdk/commit/f656f59dbfb7c41fdb569fbc56d2e9daecefb854))
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
* @applitools/ec-client bumped to 1.12.13
|
|
97
|
+
|
|
98
|
+
* @applitools/eyes bumped to 1.36.16
|
|
99
|
+
#### Bug Fixes
|
|
100
|
+
|
|
101
|
+
* resolved an issue with `matchTimeout` changing `retryTimeout` ([f656f59](https://github.com/Applitools-Dev/sdk/commit/f656f59dbfb7c41fdb569fbc56d2e9daecefb854))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
* @applitools/test-server bumped to 1.3.5
|
|
106
|
+
|
|
107
|
+
|
|
3
108
|
## [4.31.15](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.31.14...js/eyes-images@4.31.15) (2025-11-09)
|
|
4
109
|
|
|
5
110
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.31.
|
|
3
|
+
"version": "4.31.17",
|
|
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.36.
|
|
43
|
+
"@applitools/eyes": "1.36.17"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@applitools/api-extractor": "^1.2.22",
|
package/types/index.d.ts
CHANGED
|
@@ -168,7 +168,7 @@ export type ConfigurationPlain = {
|
|
|
168
168
|
baselineEnvName?: undefined | string;
|
|
169
169
|
batch?: undefined | BatchInfoPlain;
|
|
170
170
|
branchName?: undefined | string;
|
|
171
|
-
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | IOSMultiDeviceInfo)>;
|
|
171
|
+
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | IOSMultiDeviceInfo | AndroidMultiDeviceInfo)>;
|
|
172
172
|
captureStatusBar?: undefined | boolean;
|
|
173
173
|
compareWithParentBranch?: undefined | boolean;
|
|
174
174
|
concurrentSessions?: undefined | number;
|
|
@@ -262,50 +262,15 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
262
262
|
set branchName(branchName: string);
|
|
263
263
|
getBranchName(): string;
|
|
264
264
|
setBranchName(branchName: string): Configuration;
|
|
265
|
-
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | IOSMultiDeviceInfo)>;
|
|
266
|
-
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | IOSMultiDeviceInfo)>);
|
|
267
|
-
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | IOSMultiDeviceInfo)>;
|
|
265
|
+
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | IOSMultiDeviceInfo | AndroidMultiDeviceInfo)>;
|
|
266
|
+
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | IOSMultiDeviceInfo | AndroidMultiDeviceInfo)>);
|
|
267
|
+
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | IOSMultiDeviceInfo | AndroidMultiDeviceInfo)>;
|
|
268
268
|
setBrowsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
269
269
|
addBrowsers(...browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
270
270
|
addBrowser(browserInfo: (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })): Configuration;
|
|
271
271
|
addBrowser(width: number, height: number, name?: undefined | BrowserTypePlain): Configuration;
|
|
272
272
|
addDeviceEmulation(deviceName: DeviceNamePlain, screenOrientation?: undefined | ScreenOrientationPlain): Configuration;
|
|
273
|
-
addMultiDeviceTarget(
|
|
274
|
-
addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
|
|
275
|
-
addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
|
|
276
|
-
addMultiDeviceTarget(deviceName: "iPhone 15 Pro"): Configuration;
|
|
277
|
-
addMultiDeviceTarget(deviceName: "iPhone XR"): Configuration;
|
|
278
|
-
addMultiDeviceTarget(deviceName: "iPhone 11"): Configuration;
|
|
279
|
-
addMultiDeviceTarget(deviceName: "iPhone 11 Pro Max"): Configuration;
|
|
280
|
-
addMultiDeviceTarget(deviceName: "iPhone 11 Pro"): Configuration;
|
|
281
|
-
addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
|
|
282
|
-
addMultiDeviceTarget(deviceName: "iPhone SE (3rd generation)"): Configuration;
|
|
283
|
-
addMultiDeviceTarget(deviceName: "iPhone Xs"): Configuration;
|
|
284
|
-
addMultiDeviceTarget(deviceName: "iPhone 12"): Configuration;
|
|
285
|
-
addMultiDeviceTarget(deviceName: "iPhone 12 mini"): Configuration;
|
|
286
|
-
addMultiDeviceTarget(deviceName: "iPhone 12 Pro Max"): Configuration;
|
|
287
|
-
addMultiDeviceTarget(deviceName: "iPhone 12 Pro"): Configuration;
|
|
288
|
-
addMultiDeviceTarget(deviceName: "iPhone 13"): Configuration;
|
|
289
|
-
addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
|
|
290
|
-
addMultiDeviceTarget(deviceName: "iPhone 13 Pro Max"): Configuration;
|
|
291
|
-
addMultiDeviceTarget(deviceName: "iPhone 13 Pro"): Configuration;
|
|
292
|
-
addMultiDeviceTarget(deviceName: "iPhone 14"): Configuration;
|
|
293
|
-
addMultiDeviceTarget(deviceName: "iPhone 14 Pro Max"): Configuration;
|
|
294
|
-
addMultiDeviceTarget(deviceName: "iPhone 15"): Configuration;
|
|
295
|
-
addMultiDeviceTarget(deviceName: "iPhone 15 Pro Max"): Configuration;
|
|
296
|
-
addMultiDeviceTarget(deviceName: "iPhone 15 Plus"): Configuration;
|
|
297
|
-
addMultiDeviceTarget(deviceName: "iPhone 16"): Configuration;
|
|
298
|
-
addMultiDeviceTarget(deviceName: "iPhone 16 Pro Max"): Configuration;
|
|
299
|
-
addMultiDeviceTarget(deviceName: "iPhone 16 Pro"): Configuration;
|
|
300
|
-
addMultiDeviceTarget(deviceName: "iPhone 16 Plus"): Configuration;
|
|
301
|
-
addMultiDeviceTarget(deviceName: "iPhone SE (1st generation)"): Configuration;
|
|
302
|
-
addMultiDeviceTarget(deviceName: "iPhone 6"): Configuration;
|
|
303
|
-
addMultiDeviceTarget(deviceName: "iPhone 6 Plus"): Configuration;
|
|
304
|
-
addMultiDeviceTarget(deviceName: "iPhone 7"): Configuration;
|
|
305
|
-
addMultiDeviceTarget(deviceName: "iPhone 7 Plus"): Configuration;
|
|
306
|
-
addMultiDeviceTarget(deviceName: "iPhone 8"): Configuration;
|
|
307
|
-
addMultiDeviceTarget(deviceName: "iPhone 8 Plus"): Configuration;
|
|
308
|
-
addMultiDeviceTarget(deviceName: "iPhone Xs Max"): Configuration;
|
|
273
|
+
addMultiDeviceTarget(...devices: Array<IosDeviceTargetNames | IosDeviceTargetValues | AndroidDeviceTargetNames | AndroidDeviceTargetValues>): Configuration;
|
|
309
274
|
get captureStatusBar(): boolean;
|
|
310
275
|
set captureStatusBar(captureStatusBar: boolean);
|
|
311
276
|
getCaptureStatusBar(): boolean;
|
|
@@ -1075,17 +1040,22 @@ export enum FailureReport {
|
|
|
1075
1040
|
IMMEDIATE = 'IMMEDIATE',
|
|
1076
1041
|
ON_CLOSE = 'ON_CLOSE'
|
|
1077
1042
|
}
|
|
1078
|
-
export type IosDeviceNamePlain = "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";
|
|
1043
|
+
export type IosDeviceNamePlain = "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 Air 11-inch (M3)" | "iPad Air 13-inch (M3)" | "iPad (A16)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPad Pro 11-inch (M5)" | "iPad Pro 13-inch (M5)" | "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" | "iPhone 17" | "iPhone 17 Pro" | "iPhone 17 Pro Max" | "iPhone Air";
|
|
1079
1044
|
export enum IosDeviceName {
|
|
1080
1045
|
iPad_7 = 'iPad (7th generation)',
|
|
1081
1046
|
iPad_9 = 'iPad (9th generation)',
|
|
1082
1047
|
iPad_10 = 'iPad (10th generation)',
|
|
1083
1048
|
iPad_mini_6 = 'iPad mini (6th generation)',
|
|
1084
1049
|
iPad_Air_4 = 'iPad Air (4th generation)',
|
|
1050
|
+
iPad_Air_11_inch_M3 = 'iPad Air 11-inch (M3)',
|
|
1051
|
+
iPad_Air_13_inch_M3 = 'iPad Air 13-inch (M3)',
|
|
1052
|
+
iPad_A16 = 'iPad (A16)',
|
|
1085
1053
|
iPad_Pro_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
1086
|
-
iPad_Pro_12_9_inch_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
1087
1054
|
iPad_Pro_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
1088
1055
|
iPad_Pro_11_inch_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
1056
|
+
iPad_Pro_11_inch_M5 = 'iPad Pro 11-inch (M5)',
|
|
1057
|
+
iPad_Pro_13_inch_M5 = 'iPad Pro 13-inch (M5)',
|
|
1058
|
+
iPad_Pro_12_9_inch_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
1089
1059
|
iPhone_SE_2 = 'iPhone SE (2nd generation)',
|
|
1090
1060
|
iPhone_SE_3 = 'iPhone SE (3rd generation)',
|
|
1091
1061
|
iPhone_XR = 'iPhone XR',
|
|
@@ -1113,7 +1083,79 @@ export enum IosDeviceName {
|
|
|
1113
1083
|
iPhone_16 = 'iPhone 16',
|
|
1114
1084
|
iPhone_16_Pro_Max = 'iPhone 16 Pro Max',
|
|
1115
1085
|
iPhone_16_Pro = 'iPhone 16 Pro',
|
|
1116
|
-
iPhone_16_Plus = 'iPhone 16 Plus'
|
|
1086
|
+
iPhone_16_Plus = 'iPhone 16 Plus',
|
|
1087
|
+
iPhone_17 = 'iPhone 17',
|
|
1088
|
+
iPhone_17_Pro = 'iPhone 17 Pro',
|
|
1089
|
+
iPhone_17_Pro_Max = 'iPhone 17 Pro Max',
|
|
1090
|
+
iPhone_Air = 'iPhone Air'
|
|
1091
|
+
}
|
|
1092
|
+
export const IosMultiDeviceTarget: {
|
|
1093
|
+
readonly iPhone_SE_1: IosDeviceTargetValues;
|
|
1094
|
+
readonly iPhone_SE_2: IosDeviceTargetValues;
|
|
1095
|
+
readonly iPhone_SE_3: IosDeviceTargetValues;
|
|
1096
|
+
readonly iPhone_6: IosDeviceTargetValues;
|
|
1097
|
+
readonly iPhone_6_Plus: IosDeviceTargetValues;
|
|
1098
|
+
readonly iPhone_7: IosDeviceTargetValues;
|
|
1099
|
+
readonly iPhone_7_Plus: IosDeviceTargetValues;
|
|
1100
|
+
readonly iPhone_8: IosDeviceTargetValues;
|
|
1101
|
+
readonly iPhone_8_Plus: IosDeviceTargetValues;
|
|
1102
|
+
readonly iPhone_X: IosDeviceTargetValues;
|
|
1103
|
+
readonly iPhone_XR: IosDeviceTargetValues;
|
|
1104
|
+
readonly iPhone_Xs: IosDeviceTargetValues;
|
|
1105
|
+
readonly iPhone_Xs_Max: IosDeviceTargetValues;
|
|
1106
|
+
readonly iPhone_11: IosDeviceTargetValues;
|
|
1107
|
+
readonly iPhone_11_Pro: IosDeviceTargetValues;
|
|
1108
|
+
readonly iPhone_11_Pro_Max: IosDeviceTargetValues;
|
|
1109
|
+
readonly iPhone_12: IosDeviceTargetValues;
|
|
1110
|
+
readonly iPhone_12_mini: IosDeviceTargetValues;
|
|
1111
|
+
readonly iPhone_12_Pro: IosDeviceTargetValues;
|
|
1112
|
+
readonly iPhone_12_Pro_Max: IosDeviceTargetValues;
|
|
1113
|
+
readonly iPhone_13: IosDeviceTargetValues;
|
|
1114
|
+
readonly iPhone_13_mini: IosDeviceTargetValues;
|
|
1115
|
+
readonly iPhone_13_Pro: IosDeviceTargetValues;
|
|
1116
|
+
readonly iPhone_13_Pro_Max: IosDeviceTargetValues;
|
|
1117
|
+
readonly iPhone_14: IosDeviceTargetValues;
|
|
1118
|
+
readonly iPhone_14_Pro: IosDeviceTargetValues;
|
|
1119
|
+
readonly iPhone_14_Plus: IosDeviceTargetValues;
|
|
1120
|
+
readonly iPhone_14_Pro_Max: IosDeviceTargetValues;
|
|
1121
|
+
readonly iPhone_15: IosDeviceTargetValues;
|
|
1122
|
+
readonly iPhone_15_Pro: IosDeviceTargetValues;
|
|
1123
|
+
readonly iPhone_15_Plus: IosDeviceTargetValues;
|
|
1124
|
+
readonly iPhone_15_Pro_Max: IosDeviceTargetValues;
|
|
1125
|
+
readonly iPhone_16: IosDeviceTargetValues;
|
|
1126
|
+
readonly iPhone_16e: IosDeviceTargetValues;
|
|
1127
|
+
readonly iPhone_16_Pro: IosDeviceTargetValues;
|
|
1128
|
+
readonly iPhone_16_Plus: IosDeviceTargetValues;
|
|
1129
|
+
readonly iPhone_16_Pro_Max: IosDeviceTargetValues;
|
|
1130
|
+
readonly iPhone_17: IosDeviceTargetValues;
|
|
1131
|
+
readonly iPhone_17_Pro: IosDeviceTargetValues;
|
|
1132
|
+
readonly iPhone_17_Pro_Max: IosDeviceTargetValues;
|
|
1133
|
+
readonly iPhone_Air: IosDeviceTargetValues;
|
|
1134
|
+
};
|
|
1135
|
+
export type IosDeviceTargetNames = "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 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 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus" | "iPhone 17" | "iPhone 17 Pro" | "iPhone 17 Pro Max" | "iPhone Air" | "iPhone SE (1st generation)" | "iPhone 6" | "iPhone 6 Plus" | "iPhone 7" | "iPhone 7 Plus" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max" | "iPhone 16e";
|
|
1136
|
+
export type IosDeviceTargetKeys = "iPhone_SE_1" | "iPhone_SE_2" | "iPhone_SE_3" | "iPhone_6" | "iPhone_6_Plus" | "iPhone_7" | "iPhone_7_Plus" | "iPhone_8" | "iPhone_8_Plus" | "iPhone_X" | "iPhone_XR" | "iPhone_Xs" | "iPhone_Xs_Max" | "iPhone_11" | "iPhone_11_Pro" | "iPhone_11_Pro_Max" | "iPhone_12" | "iPhone_12_mini" | "iPhone_12_Pro" | "iPhone_12_Pro_Max" | "iPhone_13" | "iPhone_13_mini" | "iPhone_13_Pro" | "iPhone_13_Pro_Max" | "iPhone_14" | "iPhone_14_Pro" | "iPhone_14_Plus" | "iPhone_14_Pro_Max" | "iPhone_15" | "iPhone_15_Pro" | "iPhone_15_Plus" | "iPhone_15_Pro_Max" | "iPhone_16" | "iPhone_16e" | "iPhone_16_Pro" | "iPhone_16_Plus" | "iPhone_16_Pro_Max" | "iPhone_17" | "iPhone_17_Pro" | "iPhone_17_Pro_Max" | "iPhone_Air";
|
|
1137
|
+
export type IosDeviceTargetValues = IosDeviceTarget;
|
|
1138
|
+
export const AndroidMultiDeviceTarget: { readonly Galaxy_S25: AndroidDeviceTargetValues; readonly Galaxy_S25_Ultra: AndroidDeviceTargetValues; readonly Pixel_9: AndroidDeviceTargetValues; };
|
|
1139
|
+
export type AndroidDeviceTargetNames = "Galaxy S25" | "Galaxy S25 Ultra" | "Pixel 9";
|
|
1140
|
+
export type AndroidDeviceTargetKeys = "Galaxy_S25" | "Galaxy_S25_Ultra" | "Pixel_9";
|
|
1141
|
+
export type AndroidDeviceTargetValues = AndroidDeviceTarget;
|
|
1142
|
+
export class IosDeviceTarget {
|
|
1143
|
+
constructor(deviceName: string);
|
|
1144
|
+
readonly deviceName: string;
|
|
1145
|
+
landscape(): IosDeviceTargetValues;
|
|
1146
|
+
portrait(): IosDeviceTargetValues;
|
|
1147
|
+
getOrientation(): undefined | ScreenOrientation;
|
|
1148
|
+
getDeviceName(): string;
|
|
1149
|
+
toString(): string;
|
|
1150
|
+
}
|
|
1151
|
+
export class AndroidDeviceTarget {
|
|
1152
|
+
constructor(deviceName: string);
|
|
1153
|
+
readonly deviceName: string;
|
|
1154
|
+
landscape(): AndroidDeviceTargetValues;
|
|
1155
|
+
portrait(): AndroidDeviceTargetValues;
|
|
1156
|
+
getOrientation(): undefined | ScreenOrientation;
|
|
1157
|
+
getDeviceName(): string;
|
|
1158
|
+
toString(): string;
|
|
1117
1159
|
}
|
|
1118
1160
|
export type IosVersionPlain = "latest" | "latest-1";
|
|
1119
1161
|
export enum IosVersion {
|
|
@@ -1605,7 +1647,8 @@ export class Region implements Required<RegionPlain> {
|
|
|
1605
1647
|
export type DesktopBrowserInfo = { name?: undefined | BrowserTypePlain; width: number; height: number; };
|
|
1606
1648
|
export type ChromeEmulationInfo = { chromeEmulationInfo: { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }; };
|
|
1607
1649
|
export type IOSDeviceInfo = { iosDeviceInfo: { deviceName: IosDeviceNamePlain; iosVersion?: undefined | IosVersionPlain; screenOrientation?: undefined | ScreenOrientationPlain; }; };
|
|
1608
|
-
export type IOSMultiDeviceInfo = { iosDeviceInfo: { deviceName:
|
|
1650
|
+
export type IOSMultiDeviceInfo = { iosDeviceInfo: { deviceName: IosDeviceTargetNames; screenOrientation?: undefined | ScreenOrientationPlain; }; };
|
|
1651
|
+
export type AndroidMultiDeviceInfo = { androidDeviceInfo: { deviceName: AndroidDeviceTargetNames; screenOrientation?: undefined | ScreenOrientationPlain; }; };
|
|
1609
1652
|
export type RunnerOptionsPlain = { testConcurrency?: undefined | number; fetchConcurrency?: undefined | number; removeDuplicateTests?: undefined | boolean; maskLog?: undefined | boolean; };
|
|
1610
1653
|
export class RunnerOptionsFluent {
|
|
1611
1654
|
testConcurrency(concurrency: number): RunnerOptionsFluent;
|