@applitools/eyes-playwright 1.31.0 → 1.32.1
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 +108 -0
- package/README.md +2 -2
- package/dist/fixture/cli.js +2 -2
- package/dist/fixture/reportRenderer.js +5 -4
- package/dist/fixture/reporterStyle.css +3 -0
- package/package.json +3 -3
- package/types/index.d.ts +17 -52
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,113 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.32.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.32.0...js/eyes-playwright@1.32.1) (2024-11-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* api reference url in playwright config ([c20e2a8](https://github.com/Applitools-Dev/sdk/commit/c20e2a872176e915411784698f1684375de0409a))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/dom-shared bumped to 1.0.16
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* enhance error logging in takeScreenshots and pollify functions ([#2644](https://github.com/Applitools-Dev/sdk/issues/2644)) ([2428fa5](https://github.com/Applitools-Dev/sdk/commit/2428fa500a9fd47a803aa5aca9f79e5c5b3584f9))
|
|
17
|
+
* @applitools/dom-snapshot bumped to 4.11.11
|
|
18
|
+
|
|
19
|
+
* @applitools/req bumped to 1.7.4
|
|
20
|
+
#### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* set heartbeat request timeout as the request interval ([#2587](https://github.com/Applitools-Dev/sdk/issues/2587)) ([0251d27](https://github.com/Applitools-Dev/sdk/commit/0251d27d9ed44ec247732f66904ae3d4fa4123f1))
|
|
23
|
+
* @applitools/core bumped to 4.24.2
|
|
24
|
+
#### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* don't populate branchName and parentBranchName when scm integration exists ([#2634](https://github.com/Applitools-Dev/sdk/issues/2634)) ([e45d671](https://github.com/Applitools-Dev/sdk/commit/e45d671e11ed40a82de1bd5ab22e757aff00b63f))
|
|
27
|
+
* enhance error logging in takeScreenshots and pollify functions ([#2644](https://github.com/Applitools-Dev/sdk/issues/2644)) ([2428fa5](https://github.com/Applitools-Dev/sdk/commit/2428fa500a9fd47a803aa5aca9f79e5c5b3584f9))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
* @applitools/dom-capture bumped to 11.5.2
|
|
32
|
+
|
|
33
|
+
* @applitools/nml-client bumped to 1.8.19
|
|
34
|
+
|
|
35
|
+
* @applitools/tunnel-client bumped to 1.5.10
|
|
36
|
+
|
|
37
|
+
* @applitools/ufg-client bumped to 1.14.1
|
|
38
|
+
|
|
39
|
+
* @applitools/core-base bumped to 1.19.3
|
|
40
|
+
#### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* set heartbeat request timeout as the request interval ([#2587](https://github.com/Applitools-Dev/sdk/issues/2587)) ([0251d27](https://github.com/Applitools-Dev/sdk/commit/0251d27d9ed44ec247732f66904ae3d4fa4123f1))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
* @applitools/ec-client bumped to 1.9.15
|
|
47
|
+
|
|
48
|
+
* @applitools/eyes bumped to 1.28.0
|
|
49
|
+
#### Features
|
|
50
|
+
|
|
51
|
+
* remove Android NMG API ([#2566](https://github.com/Applitools-Dev/sdk/issues/2566)) ([750c0f0](https://github.com/Applitools-Dev/sdk/commit/750c0f0263e5ff06f86055e7ba0c3fb47cadb620))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## [1.32.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.31.0...js/eyes-playwright@1.32.0) (2024-11-12)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Features
|
|
60
|
+
|
|
61
|
+
* playwright report - small ui fixes ([0297307](https://github.com/Applitools-Dev/sdk/commit/02973071be1faf3138773901214613b7f048df62))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Bug Fixes
|
|
65
|
+
|
|
66
|
+
* playwright docs links ([#2627](https://github.com/Applitools-Dev/sdk/issues/2627)) ([5f7c794](https://github.com/Applitools-Dev/sdk/commit/5f7c794a603c060e0082f0d29a56d1947bf44d8b))
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Dependencies
|
|
70
|
+
|
|
71
|
+
* @applitools/driver bumped to 1.20.0
|
|
72
|
+
#### Features
|
|
73
|
+
|
|
74
|
+
* add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
|
|
75
|
+
* @applitools/screenshoter bumped to 3.10.0
|
|
76
|
+
#### Features
|
|
77
|
+
|
|
78
|
+
* add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
* @applitools/core bumped to 4.24.0
|
|
83
|
+
#### Features
|
|
84
|
+
|
|
85
|
+
* add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
* @applitools/dom-snapshot bumped to 4.11.9
|
|
90
|
+
|
|
91
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.20
|
|
92
|
+
|
|
93
|
+
* @applitools/spec-driver-selenium bumped to 1.5.91
|
|
94
|
+
|
|
95
|
+
* @applitools/spec-driver-playwright bumped to 1.5.3
|
|
96
|
+
|
|
97
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.20
|
|
98
|
+
|
|
99
|
+
* @applitools/nml-client bumped to 1.8.18
|
|
100
|
+
|
|
101
|
+
* @applitools/ec-client bumped to 1.9.14
|
|
102
|
+
|
|
103
|
+
* @applitools/eyes bumped to 1.27.0
|
|
104
|
+
#### Features
|
|
105
|
+
|
|
106
|
+
* add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
3
111
|
## [1.31.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright-v1.30.3...js/eyes-playwright@1.31.0) (2024-11-11)
|
|
4
112
|
|
|
5
113
|
|
package/README.md
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
<br/>
|
|
9
9
|
|
|
10
10
|
## Resources
|
|
11
|
-
- [Quick start](https://applitools.com/tutorials/
|
|
12
|
-
- [API reference](https://applitools.com/
|
|
11
|
+
- [Quick start](https://applitools.com/tutorials/playwright)
|
|
12
|
+
- [API reference](https://applitools.com/tutorials/playwright/api/overview)
|
package/dist/fixture/cli.js
CHANGED
|
@@ -89,7 +89,7 @@ async function init(args) {
|
|
|
89
89
|
.replace(/(use: {)/, `$1
|
|
90
90
|
/* Configuration for Eyes VisualAI */
|
|
91
91
|
eyesConfig: {
|
|
92
|
-
/* The following and other configuration parameters are documented at:
|
|
92
|
+
/* The following and other configuration parameters are documented at: https://applitools.com/tutorials/playwright/api/overview */
|
|
93
93
|
${apiKeyStr}, // alternatively, set this via environment variable APPLITOOLS_API_KEY
|
|
94
94
|
${serverUrlStr},
|
|
95
95
|
|
|
@@ -153,7 +153,7 @@ async function init(args) {
|
|
|
153
153
|
log('');
|
|
154
154
|
log("👀 The Eyes HTML reporter extends Playwright's HTML reporter with improved side by side visual comparison");
|
|
155
155
|
log('');
|
|
156
|
-
log('Visit
|
|
156
|
+
log('Visit https://applitools.com/tutorials/playwright for more information.');
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
async function runExample() {
|
|
@@ -452,11 +452,12 @@ class ReportRenderer {
|
|
|
452
452
|
|
|
453
453
|
chip.querySelector(
|
|
454
454
|
'.chip-header-text',
|
|
455
|
-
).innerHTML = `Eyes Test Results <span class="test-header-info"> - ${sessionText} <
|
|
456
|
-
result
|
|
457
|
-
|
|
455
|
+
).innerHTML = `Eyes Test Results <span class="test-header-info"> - ${sessionText} <div class="eyes-info">${this.createEyesInfo(
|
|
456
|
+
getSingleSessionStatus(result),
|
|
457
|
+
false,
|
|
458
|
+
)}</div><a href=${result.appUrls.session} target='_blank' title='View in Eyes Dashboard'>
|
|
458
459
|
<span>${window.__icons.link}</span>
|
|
459
|
-
</a
|
|
460
|
+
</a></span>`;
|
|
460
461
|
|
|
461
462
|
chip.querySelector('.chip-header-text a').onclick = event => event.stopPropagation();
|
|
462
463
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-playwright",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.1",
|
|
4
4
|
"description": "Applitools Eyes SDK for Playwright",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-playwright",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"up:framework": "echo \"$(jq '.devDependencies.playwright = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@applitools/eyes": "1.
|
|
63
|
-
"@applitools/spec-driver-playwright": "1.5.
|
|
62
|
+
"@applitools/eyes": "1.28.0",
|
|
63
|
+
"@applitools/spec-driver-playwright": "1.5.3",
|
|
64
64
|
"@applitools/utils": "1.7.5",
|
|
65
65
|
"@inquirer/prompts": "7.0.1",
|
|
66
66
|
"chalk": "4.1.2",
|
package/types/index.d.ts
CHANGED
|
@@ -464,7 +464,7 @@ export type ConfigurationPlain = {
|
|
|
464
464
|
baselineEnvName?: undefined | string;
|
|
465
465
|
batch?: undefined | BatchInfoPlain;
|
|
466
466
|
branchName?: undefined | string;
|
|
467
|
-
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
467
|
+
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { 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"; }; })>;
|
|
468
468
|
captureStatusBar?: undefined | boolean;
|
|
469
469
|
compareWithParentBranch?: undefined | boolean;
|
|
470
470
|
concurrentSessions?: undefined | number;
|
|
@@ -495,6 +495,7 @@ export type ConfigurationPlain = {
|
|
|
495
495
|
layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
|
|
496
496
|
matchLevel?: undefined | MatchLevelPlain;
|
|
497
497
|
matchTimeout?: undefined | number;
|
|
498
|
+
mobileOptions?: undefined | { keepNavigationBar?: undefined | boolean; };
|
|
498
499
|
parentBranchName?: undefined | string;
|
|
499
500
|
properties?: undefined | Array<PropertyDataPlain>;
|
|
500
501
|
proxy?: undefined | ProxySettingsPlain;
|
|
@@ -555,16 +556,14 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
555
556
|
set branchName(branchName: string);
|
|
556
557
|
getBranchName(): string;
|
|
557
558
|
setBranchName(branchName: string): Configuration;
|
|
558
|
-
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
559
|
-
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
560
|
-
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
561
|
-
setBrowsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
562
|
-
addBrowsers(...browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
563
|
-
addBrowser(browserInfo: (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
559
|
+
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { 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"; }; })>;
|
|
560
|
+
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { 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"; }; })>);
|
|
561
|
+
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { 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"; }; })>;
|
|
562
|
+
setBrowsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
563
|
+
addBrowsers(...browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
564
|
+
addBrowser(browserInfo: (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })): Configuration;
|
|
564
565
|
addBrowser(width: number, height: number, name?: undefined | BrowserTypePlain): Configuration;
|
|
565
566
|
addDeviceEmulation(deviceName: DeviceNamePlain, screenOrientation?: undefined | ScreenOrientationPlain): Configuration;
|
|
566
|
-
addMobileDevice(deviceName: AndroidDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
|
|
567
|
-
addMobileDevice(deviceName: IosDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
|
|
568
567
|
addMultiDeviceTarget(deviceName: "iPhone X"): Configuration;
|
|
569
568
|
addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
|
|
570
569
|
addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
|
|
@@ -714,6 +713,10 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
714
713
|
set matchTimeout(matchTimeout: number);
|
|
715
714
|
getMatchTimeout(): number;
|
|
716
715
|
setMatchTimeout(matchTimeout: number): Configuration;
|
|
716
|
+
get mobileOptions(): { keepNavigationBar?: undefined | boolean; };
|
|
717
|
+
set mobileOptions(mobileOptions: { keepNavigationBar?: undefined | boolean; });
|
|
718
|
+
getMobileOptions(): { keepNavigationBar?: undefined | boolean; };
|
|
719
|
+
setMobileOptions(mobileOptions: { keepNavigationBar?: undefined | boolean; }): Configuration;
|
|
717
720
|
get parentBranchName(): string;
|
|
718
721
|
set parentBranchName(parentBranchName: string);
|
|
719
722
|
getParentBranchName(): string;
|
|
@@ -989,49 +992,12 @@ export enum IosDeviceName {
|
|
|
989
992
|
iPhone_16_Pro = 'iPhone 16 Pro',
|
|
990
993
|
iPhone_16_Plus = 'iPhone 16 Plus'
|
|
991
994
|
}
|
|
992
|
-
export type IosVersionPlain =
|
|
995
|
+
export type IosVersionPlain = "latest" | "latest-1";
|
|
993
996
|
export enum IosVersion {
|
|
994
997
|
LATEST = 'latest',
|
|
995
998
|
ONE_VERSION_BACK = 'latest-1',
|
|
996
999
|
LATEST_ONE_VERSION_BACK = 'latest-1'
|
|
997
1000
|
}
|
|
998
|
-
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";
|
|
999
|
-
export enum AndroidDeviceName {
|
|
1000
|
-
Galaxy_S20 = 'Galaxy S20',
|
|
1001
|
-
Galaxy_S20_Plus = 'Galaxy S20 Plus',
|
|
1002
|
-
Galaxy_S20_PLUS = 'Galaxy S20 Plus',
|
|
1003
|
-
Galaxy_S21_Ultra = 'Galaxy S21 Ultra',
|
|
1004
|
-
Galaxy_S21_ULTRA = 'Galaxy S21 Ultra',
|
|
1005
|
-
Galaxy_Note_10_Plus = 'Galaxy Note 10 Plus',
|
|
1006
|
-
Galaxy_S9 = 'Galaxy S9',
|
|
1007
|
-
Galaxy_S10 = 'Galaxy S10',
|
|
1008
|
-
Galaxy_S10_Plus = 'Galaxy S10 Plus',
|
|
1009
|
-
Pixel_4_XL = 'Pixel 4 XL',
|
|
1010
|
-
Pixel_3_XL = 'Pixel 3 XL',
|
|
1011
|
-
Galaxy_S21 = 'Galaxy S21',
|
|
1012
|
-
Galaxy_S21_Plus = 'Galaxy S21 Plus',
|
|
1013
|
-
Galaxy_S21_PLUS = 'Galaxy S21 Plus',
|
|
1014
|
-
Xiaomi_Redmi_Note_11_Pro = 'Xiaomi Redmi Note 11 Pro',
|
|
1015
|
-
Xiaomi_Redmi_Note_11 = 'Xiaomi Redmi Note 11',
|
|
1016
|
-
Xiaomi_Redmi_Note_10_JE = 'Xiaomi Redmi Note 10 JE',
|
|
1017
|
-
Pixel_6 = 'Pixel 6',
|
|
1018
|
-
Galaxy_Note_10 = 'Galaxy Note 10',
|
|
1019
|
-
Pixel_4 = 'Pixel 4',
|
|
1020
|
-
Pixel_5 = 'Pixel 5',
|
|
1021
|
-
Galaxy_S22 = 'Galaxy S22',
|
|
1022
|
-
Galaxy_S22_Plus = 'Galaxy S22 Plus',
|
|
1023
|
-
Galaxy_Tab_S8 = 'Galaxy Tab S8',
|
|
1024
|
-
Galaxy_Tab_S7 = 'Galaxy Tab S7',
|
|
1025
|
-
Sony_Xperia_10_II = 'Sony Xperia 10 II',
|
|
1026
|
-
Sony_Xperia_1_II = 'Sony Xperia 1 II',
|
|
1027
|
-
Sony_Xperia_Ace_II = 'Sony Xperia Ace II',
|
|
1028
|
-
Huawei_P30_Lite = 'Huawei P30 Lite'
|
|
1029
|
-
}
|
|
1030
|
-
export type AndroidVersionPlain = "latest" | "latest-1";
|
|
1031
|
-
export enum AndroidVersion {
|
|
1032
|
-
LATEST = 'latest',
|
|
1033
|
-
ONE_VERSION_BACK = 'latest-1'
|
|
1034
|
-
}
|
|
1035
1001
|
export type MatchLevelPlain = "None" | "Layout1" | "Layout" | "Layout2" | "Content" | "IgnoreColors" | "Strict" | "Dynamic" | "Exact";
|
|
1036
1002
|
export enum MatchLevel {
|
|
1037
1003
|
None = 'None',
|
|
@@ -1633,8 +1599,7 @@ export class Region implements Required<RegionPlain> {
|
|
|
1633
1599
|
}
|
|
1634
1600
|
export type DesktopBrowserInfo = { name?: undefined | BrowserTypePlain; width: number; height: number; };
|
|
1635
1601
|
export type ChromeEmulationInfo = { chromeEmulationInfo: { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }; };
|
|
1636
|
-
export type IOSDeviceInfo = { iosDeviceInfo: { deviceName: IosDeviceNamePlain; iosVersion?: undefined |
|
|
1637
|
-
export type AndroidDeviceInfo = { androidDeviceInfo: { deviceName: AndroidDeviceNamePlain; version?: undefined | AndroidVersionPlain; screenOrientation?: undefined | ScreenOrientationPlain; }; };
|
|
1602
|
+
export type IOSDeviceInfo = { iosDeviceInfo: { deviceName: IosDeviceNamePlain; iosVersion?: undefined | IosVersionPlain; screenOrientation?: undefined | ScreenOrientationPlain; }; };
|
|
1638
1603
|
export type RunnerOptionsPlain = { testConcurrency?: undefined | number; fetchConcurrency?: undefined | number; removeDuplicateTests?: undefined | boolean; };
|
|
1639
1604
|
export class RunnerOptionsFluent {
|
|
1640
1605
|
testConcurrency(concurrency: number): RunnerOptionsFluent;
|
|
@@ -1866,14 +1831,14 @@ export class TestResults implements Required<TestResultsPlain> {
|
|
|
1866
1831
|
delete(): Promise<void>;
|
|
1867
1832
|
deleteSession(): Promise<void>;
|
|
1868
1833
|
}
|
|
1869
|
-
export type TestResultContainerPlain = { readonly exception?: undefined | Error; readonly testResults?: undefined | TestResultsPlain; readonly browserInfo?: undefined | (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
1834
|
+
export type TestResultContainerPlain = { readonly exception?: undefined | Error; readonly testResults?: undefined | TestResultsPlain; readonly browserInfo?: undefined | (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }); };
|
|
1870
1835
|
export class TestResultContainer implements Required<TestResultContainerPlain> {
|
|
1871
1836
|
get testResults(): TestResultsPlain;
|
|
1872
1837
|
getTestResults(): TestResults;
|
|
1873
1838
|
get exception(): Error;
|
|
1874
1839
|
getException(): Error;
|
|
1875
|
-
get browserInfo(): DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
1876
|
-
getBrowserInfo(): DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo |
|
|
1840
|
+
get browserInfo(): DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; };
|
|
1841
|
+
getBrowserInfo(): DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; };
|
|
1877
1842
|
}
|
|
1878
1843
|
export type TestResultsSummaryPlain = Iterable<TestResultContainerPlain>;
|
|
1879
1844
|
export class TestResultsSummary implements Iterable<TestResultContainer> {
|