@applitools/eyes-browser 1.4.13 → 1.4.15
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 +118 -0
- package/dist/index.js +31944 -31214
- package/package.json +2 -2
- package/types/cli/cli.d.ts +2 -0
- package/types/cli/load-config.d.ts +1 -0
- package/types/index.d.ts +1 -3
- package/types/input/CheckSettings.d.ts +17 -9
- package/types/input/Configuration.d.ts +299 -272
- package/types/input/RenderInfo.d.ts +2 -11
- package/types/output/TestResultContainer.d.ts +2 -2
- package/types/enums/AndroidDeviceName.d.ts +0 -35
- package/types/enums/AndroidVersion.d.ts +0 -5
|
@@ -2,8 +2,6 @@ import { BrowserType } from '../enums/BrowserType';
|
|
|
2
2
|
import { DeviceName } from '../enums/DeviceName';
|
|
3
3
|
import { IosDeviceName } from '../enums/IosDeviceName';
|
|
4
4
|
import { IosVersion } from '../enums/IosVersion';
|
|
5
|
-
import { AndroidDeviceName } from '../enums/AndroidDeviceName';
|
|
6
|
-
import { AndroidVersion } from '../enums/AndroidVersion';
|
|
7
5
|
import { ScreenOrientation } from '../enums/ScreenOrientation';
|
|
8
6
|
import { IosMultiDeviceTarget } from '../enums/IosMultiDeviceTarget';
|
|
9
7
|
type RenderInfoBase = {
|
|
@@ -39,18 +37,11 @@ export type IOSDeviceInfo = {
|
|
|
39
37
|
screenOrientation?: ScreenOrientation;
|
|
40
38
|
};
|
|
41
39
|
};
|
|
42
|
-
export type AndroidDeviceInfo = {
|
|
43
|
-
androidDeviceInfo: {
|
|
44
|
-
deviceName: AndroidDeviceName;
|
|
45
|
-
version?: AndroidVersion;
|
|
46
|
-
screenOrientation?: ScreenOrientation;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
40
|
export type IOSMultiDeviceInfo = {
|
|
50
41
|
iosDeviceInfo: {
|
|
51
42
|
deviceName: IosMultiDeviceTarget;
|
|
52
43
|
};
|
|
53
44
|
};
|
|
54
|
-
export type RenderInfoLegacy = RenderInfoBase & (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
55
|
-
export type RenderInfo = RenderInfoBase & (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
45
|
+
export type RenderInfoLegacy = RenderInfoBase & (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | ChromeEmulationInfoLegacy);
|
|
46
|
+
export type RenderInfo = RenderInfoBase & (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | IOSMultiDeviceInfo);
|
|
56
47
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as Core from '@applitools/core';
|
|
2
2
|
import { TestResults, TestResultsData } from './TestResults';
|
|
3
|
-
import {
|
|
4
|
-
type RenderInfo = DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
3
|
+
import { ChromeEmulationInfo, ChromeEmulationInfoLegacy, DesktopBrowserInfo, IOSDeviceInfo } from '../input/RenderInfo';
|
|
4
|
+
type RenderInfo = DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | ChromeEmulationInfoLegacy;
|
|
5
5
|
export type TestResultContainer = {
|
|
6
6
|
readonly exception?: Error;
|
|
7
7
|
readonly testResults?: TestResults;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export declare enum AndroidDeviceNameEnum {
|
|
2
|
-
Galaxy_S20 = "Galaxy S20",
|
|
3
|
-
Galaxy_S20_Plus = "Galaxy S20 Plus",
|
|
4
|
-
/** @deprecated use {@link Galaxy_S20_Plus } instead */
|
|
5
|
-
Galaxy_S20_PLUS = "Galaxy S20 Plus",
|
|
6
|
-
Galaxy_S21_Ultra = "Galaxy S21 Ultra",
|
|
7
|
-
/** @deprecated use {@link Galaxy_S21_Ultra } instead */
|
|
8
|
-
Galaxy_S21_ULTRA = "Galaxy S21 Ultra",
|
|
9
|
-
Galaxy_Note_10_Plus = "Galaxy Note 10 Plus",
|
|
10
|
-
Galaxy_S9 = "Galaxy S9",
|
|
11
|
-
Galaxy_S10 = "Galaxy S10",
|
|
12
|
-
Galaxy_S10_Plus = "Galaxy S10 Plus",
|
|
13
|
-
Pixel_4_XL = "Pixel 4 XL",
|
|
14
|
-
Pixel_3_XL = "Pixel 3 XL",
|
|
15
|
-
Galaxy_S21 = "Galaxy S21",
|
|
16
|
-
Galaxy_S21_Plus = "Galaxy S21 Plus",
|
|
17
|
-
/** @deprecated use {@link Galaxy_S21_Plus } instead */
|
|
18
|
-
Galaxy_S21_PLUS = "Galaxy S21 Plus",
|
|
19
|
-
Xiaomi_Redmi_Note_11_Pro = "Xiaomi Redmi Note 11 Pro",
|
|
20
|
-
Xiaomi_Redmi_Note_11 = "Xiaomi Redmi Note 11",
|
|
21
|
-
Xiaomi_Redmi_Note_10_JE = "Xiaomi Redmi Note 10 JE",
|
|
22
|
-
Pixel_6 = "Pixel 6",
|
|
23
|
-
Galaxy_Note_10 = "Galaxy Note 10",
|
|
24
|
-
Pixel_4 = "Pixel 4",
|
|
25
|
-
Pixel_5 = "Pixel 5",
|
|
26
|
-
Galaxy_S22 = "Galaxy S22",
|
|
27
|
-
Galaxy_S22_Plus = "Galaxy S22 Plus",
|
|
28
|
-
Galaxy_Tab_S8 = "Galaxy Tab S8",
|
|
29
|
-
Galaxy_Tab_S7 = "Galaxy Tab S7",
|
|
30
|
-
Sony_Xperia_10_II = "Sony Xperia 10 II",
|
|
31
|
-
Sony_Xperia_1_II = "Sony Xperia 1 II",
|
|
32
|
-
Sony_Xperia_Ace_II = "Sony Xperia Ace II",
|
|
33
|
-
Huawei_P30_Lite = "Huawei P30 Lite"
|
|
34
|
-
}
|
|
35
|
-
export type AndroidDeviceName = `${AndroidDeviceNameEnum}`;
|