@applitools/eyes-webdriverio 5.34.16 → 5.35.2
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 +25 -0
- package/README.md +1 -1
- package/dist/api.js +5 -1
- package/dist/index.js +5 -1
- package/dist/service.js +8 -16
- package/dist/spec-driver.js +5 -1
- package/package.json +21 -20
- package/types/index.d.ts +20 -21
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,31 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
|
|
12
|
+
## 5.35.2 - 2022/6/8
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
- Added support for taking full screenshots of elements that are scroll by pages only
|
|
16
|
+
- Allowed `` values in custom properties
|
|
17
|
+
### Bug fixes
|
|
18
|
+
- Fixed the "Maximum Call Stack Size Exceeded" error when taking screenshots on iOS Safari
|
|
19
|
+
- Fixed an issue with wrong cropped screenshots of elements out of viewport bounds on native devices
|
|
20
|
+
- Fixed broken links to enums implementation in the README.md
|
|
21
|
+
- Fixed `forceFullPageScreenshot` option behavior
|
|
22
|
+
|
|
23
|
+
## 5.35.1 - 2022/6/2
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
### Bug fixes
|
|
27
|
+
- Fix rounding error of image size when scaling introduces fractions
|
|
28
|
+
|
|
29
|
+
## 5.35.0 - 2022/6/1
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
- Dorp support for Node.js versions <=12
|
|
33
|
+
### Bug fixes
|
|
34
|
+
- Fixed incorrect calculation of coded regions in classic mode when using CSS stitching
|
|
35
|
+
|
|
11
36
|
## 5.34.16 - 2022/5/27
|
|
12
37
|
|
|
13
38
|
### Features
|
package/README.md
CHANGED
|
@@ -1116,7 +1116,7 @@ configuration.addBrowser({
|
|
|
1116
1116
|
eyes.setConfiguration(configuration)
|
|
1117
1117
|
```
|
|
1118
1118
|
|
|
1119
|
-
The list of devices is available at https://github.com/applitools/eyes.sdk.javascript1/blob/master/packages/eyes-
|
|
1119
|
+
The list of devices is available at https://github.com/applitools/eyes.sdk.javascript1/blob/master/packages/eyes-api/src/enums/IosDeviceName.ts
|
|
1120
1120
|
|
|
1121
1121
|
Possible values for `iosVersion` are:
|
|
1122
1122
|
|
package/dist/api.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist/service.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -18,17 +22,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
18
22
|
__setModuleDefault(result, mod);
|
|
19
23
|
return result;
|
|
20
24
|
};
|
|
21
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
22
|
-
var t = {};
|
|
23
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
24
|
-
t[p] = s[p];
|
|
25
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
26
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
27
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
28
|
-
t[p[i]] = s[p[i]];
|
|
29
|
-
}
|
|
30
|
-
return t;
|
|
31
|
-
};
|
|
32
25
|
const eyes_sdk_core_1 = require("@applitools/eyes-sdk-core");
|
|
33
26
|
const spec = __importStar(require("./spec-driver"));
|
|
34
27
|
const api_1 = require("./api");
|
|
@@ -38,7 +31,7 @@ if (!process.env.APPLITOOLS_WEBDRIVERIO_MAJOR_VERSION) {
|
|
|
38
31
|
const [major] = version.split('.', 1);
|
|
39
32
|
process.env.APPLITOOLS_WEBDRIVERIO_MAJOR_VERSION = major;
|
|
40
33
|
}
|
|
41
|
-
catch
|
|
34
|
+
catch {
|
|
42
35
|
}
|
|
43
36
|
}
|
|
44
37
|
const sdk = (0, eyes_sdk_core_1.makeSDK)({
|
|
@@ -51,10 +44,9 @@ class EyesOverride extends api_1.Eyes {
|
|
|
51
44
|
}
|
|
52
45
|
EyesOverride._spec = sdk;
|
|
53
46
|
class EyesService {
|
|
54
|
-
constructor(
|
|
55
|
-
var { useVisualGrid, concurrency, eyes } = _a, config = __rest(_a, ["useVisualGrid", "concurrency", "eyes"]);
|
|
47
|
+
constructor({ useVisualGrid, concurrency, eyes, ...config }) {
|
|
56
48
|
const wdioMajorVersion = Number(process.env.APPLITOOLS_WEBDRIVERIO_MAJOR_VERSION);
|
|
57
|
-
config = wdioMajorVersion < 6 ?
|
|
49
|
+
config = wdioMajorVersion < 6 ? { ...eyes } : config;
|
|
58
50
|
if (!useVisualGrid)
|
|
59
51
|
config.hideScrollbars = true;
|
|
60
52
|
this._eyes = new EyesOverride(useVisualGrid ? new api_1.VisualGridRunner({ testConcurrency: concurrency }) : new api_1.ClassicRunner(), config);
|
package/dist/spec-driver.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-webdriverio",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.35.2",
|
|
4
4
|
"description": "Applitools Eyes SDK for WebdriverIO",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-webdriverio",
|
|
@@ -111,45 +111,46 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
|
-
"@applitools/eyes-api": "1.4
|
|
115
|
-
"@applitools/eyes-sdk-core": "13.6.
|
|
116
|
-
"@applitools/spec-driver-webdriverio": "1.2.
|
|
117
|
-
"@applitools/visual-grid-client": "15.12.
|
|
114
|
+
"@applitools/eyes-api": "1.5.4",
|
|
115
|
+
"@applitools/eyes-sdk-core": "13.6.32",
|
|
116
|
+
"@applitools/spec-driver-webdriverio": "1.2.10",
|
|
117
|
+
"@applitools/visual-grid-client": "15.12.40"
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
|
-
"@applitools/api-extractor": "1.2.
|
|
121
|
-
"@applitools/bongo": "^2.1.
|
|
120
|
+
"@applitools/api-extractor": "1.2.8",
|
|
121
|
+
"@applitools/bongo": "^2.1.4",
|
|
122
122
|
"@applitools/scripts": "1.1.0",
|
|
123
123
|
"@applitools/sdk-coverage-tests": "^2.3.18",
|
|
124
124
|
"@applitools/sdk-shared": "0.9.11",
|
|
125
125
|
"@applitools/test-utils": "1.3.2",
|
|
126
|
-
"@types/mocha": "^9.
|
|
127
|
-
"@
|
|
128
|
-
"@typescript-eslint/
|
|
126
|
+
"@types/mocha": "^9.1.1",
|
|
127
|
+
"@types/node": "12",
|
|
128
|
+
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
|
129
|
+
"@typescript-eslint/parser": "^5.27.0",
|
|
129
130
|
"@wdio/cli": "^7.16.5",
|
|
130
131
|
"@wdio/dot-reporter": "^7.16.4",
|
|
131
132
|
"@wdio/local-runner": "^7.16.5",
|
|
132
133
|
"@wdio/mocha-framework": "^7.16.4",
|
|
133
134
|
"chromedriver": "^101.0.0",
|
|
134
|
-
"eslint": "^
|
|
135
|
-
"eslint-config-prettier": "^
|
|
135
|
+
"eslint": "^8.16.0",
|
|
136
|
+
"eslint-config-prettier": "^8.5.0",
|
|
136
137
|
"eslint-plugin-mocha-no-only": "^1.1.1",
|
|
137
138
|
"eslint-plugin-node": "^11.1.0",
|
|
138
|
-
"eslint-plugin-prettier": "^
|
|
139
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
139
140
|
"geckodriver": "^1.20.0",
|
|
140
141
|
"husky": "^4.3.8",
|
|
141
|
-
"mocha": "^
|
|
142
|
-
"prettier": "^2.
|
|
142
|
+
"mocha": "^10.0.0",
|
|
143
|
+
"prettier": "^2.6.2",
|
|
143
144
|
"spec-xunit-file": "0.0.1-3",
|
|
144
|
-
"ts-node": "^10.
|
|
145
|
-
"ttypescript": "^1.5.
|
|
146
|
-
"typescript": "^4.
|
|
147
|
-
"webdriverio": "^7.
|
|
145
|
+
"ts-node": "^10.8.0",
|
|
146
|
+
"ttypescript": "^1.5.13",
|
|
147
|
+
"typescript": "^4.7.2",
|
|
148
|
+
"webdriverio": "^7.19.7"
|
|
148
149
|
},
|
|
149
150
|
"peerDependencies": {
|
|
150
151
|
"webdriverio": "5.0.0 - 7.x.x"
|
|
151
152
|
},
|
|
152
153
|
"engines": {
|
|
153
|
-
"node": ">=
|
|
154
|
+
"node": ">=12.13.0"
|
|
154
155
|
}
|
|
155
156
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -429,10 +429,10 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
429
429
|
setConcurrentSessions(concurrentSessions: number): Configuration;
|
|
430
430
|
get browsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo>;
|
|
431
431
|
set browsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo>);
|
|
432
|
-
getBrowsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo |
|
|
433
|
-
setBrowsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo |
|
|
434
|
-
addBrowsers(...browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo |
|
|
435
|
-
addBrowser(browserInfo: DesktopBrowserInfo | ChromeEmulationInfo |
|
|
432
|
+
getBrowsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | { deviceName: DeviceNamePlain; screenOrientation?: ScreenOrientationPlain; } | IOSDeviceInfo>;
|
|
433
|
+
setBrowsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | { deviceName: DeviceNamePlain; screenOrientation?: ScreenOrientationPlain; } | IOSDeviceInfo>): Configuration;
|
|
434
|
+
addBrowsers(...browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | { deviceName: DeviceNamePlain; screenOrientation?: ScreenOrientationPlain; } | IOSDeviceInfo>): Configuration;
|
|
435
|
+
addBrowser(browserInfo: DesktopBrowserInfo | ChromeEmulationInfo | { deviceName: DeviceNamePlain; screenOrientation?: ScreenOrientationPlain; } | IOSDeviceInfo): Configuration;
|
|
436
436
|
addBrowser(width: number, height: number, name?: BrowserTypePlain): Configuration;
|
|
437
437
|
addDeviceEmulation(deviceName: DeviceNamePlain, screenOrientation?: ScreenOrientationPlain): Configuration;
|
|
438
438
|
get visualGridOptions(): { [key: string]: any; };
|
|
@@ -746,7 +746,7 @@ export enum MatchLevel {
|
|
|
746
746
|
Strict = 'Strict',
|
|
747
747
|
Exact = 'Exact'
|
|
748
748
|
}
|
|
749
|
-
export type ScreenOrientationPlain = "
|
|
749
|
+
export type ScreenOrientationPlain = "landscape" | "portrait";
|
|
750
750
|
export enum ScreenOrientation {
|
|
751
751
|
PORTRAIT = 'portrait',
|
|
752
752
|
LANDSCAPE = 'landscape'
|
|
@@ -756,7 +756,7 @@ export enum SessionType {
|
|
|
756
756
|
SEQUENTIAL = 'SEQUENTIAL',
|
|
757
757
|
PROGRESSION = 'PROGRESSION'
|
|
758
758
|
}
|
|
759
|
-
export type StitchModePlain = "
|
|
759
|
+
export type StitchModePlain = "CSS" | "Scroll";
|
|
760
760
|
export enum StitchMode {
|
|
761
761
|
SCROLL = 'Scroll',
|
|
762
762
|
CSS = 'CSS'
|
|
@@ -944,8 +944,8 @@ export type ImageMatchSettingsPlain = {
|
|
|
944
944
|
layoutRegions?: Array<RegionPlain>;
|
|
945
945
|
strictRegions?: Array<RegionPlain>;
|
|
946
946
|
contentRegions?: Array<RegionPlain>;
|
|
947
|
-
floatingRegions?: Array<
|
|
948
|
-
accessibilityRegions?: Array<
|
|
947
|
+
floatingRegions?: Array<RegionPlain | FloatingMatchSettingsPlain>;
|
|
948
|
+
accessibilityRegions?: Array<RegionPlain | AccessibilityMatchSettingsPlain>;
|
|
949
949
|
accessibilitySettings?: AccessibilitySettings;
|
|
950
950
|
};
|
|
951
951
|
export class ImageMatchSettings implements Required<ImageMatchSettingsPlain> {
|
|
@@ -996,16 +996,16 @@ export class ImageMatchSettings implements Required<ImageMatchSettingsPlain> {
|
|
|
996
996
|
set content(content: Array<RegionPlain>);
|
|
997
997
|
getContentRegions(): Array<Region>;
|
|
998
998
|
setContentRegions(contentRegions: Array<RegionPlain>): void;
|
|
999
|
-
get floatingRegions(): Array<
|
|
1000
|
-
set floatingRegions(floatingRegions: Array<
|
|
1001
|
-
get floating(): Array<
|
|
1002
|
-
set floating(floating: Array<
|
|
999
|
+
get floatingRegions(): Array<RegionPlain | FloatingMatchSettingsPlain>;
|
|
1000
|
+
set floatingRegions(floatingRegions: Array<RegionPlain | FloatingMatchSettingsPlain>);
|
|
1001
|
+
get floating(): Array<RegionPlain | FloatingMatchSettingsPlain>;
|
|
1002
|
+
set floating(floating: Array<RegionPlain | FloatingMatchSettingsPlain>);
|
|
1003
1003
|
getFloatingRegions(): Array<FloatingMatchSettings>;
|
|
1004
1004
|
setFloatingRegions(floatingRegions: Array<FloatingMatchSettingsPlain>): void;
|
|
1005
|
-
get accessibilityRegions(): Array<
|
|
1006
|
-
set accessibilityRegions(accessibilityRegions: Array<
|
|
1007
|
-
get accessibility(): Array<
|
|
1008
|
-
set accessibility(accessibility: Array<
|
|
1005
|
+
get accessibilityRegions(): Array<RegionPlain | AccessibilityMatchSettingsPlain>;
|
|
1006
|
+
set accessibilityRegions(accessibilityRegions: Array<RegionPlain | AccessibilityMatchSettingsPlain>);
|
|
1007
|
+
get accessibility(): Array<RegionPlain | AccessibilityMatchSettingsPlain>;
|
|
1008
|
+
set accessibility(accessibility: Array<RegionPlain | AccessibilityMatchSettingsPlain>);
|
|
1009
1009
|
getAccessibilityRegions(): Array<AccessibilityMatchSettings>;
|
|
1010
1010
|
setAccessibilityRegions(accessibilityRegions: Array<AccessibilityMatchSettingsPlain>): void;
|
|
1011
1011
|
get accessibilitySettings(): AccessibilitySettings;
|
|
@@ -1034,7 +1034,7 @@ export class Location implements Required<LocationPlain> {
|
|
|
1034
1034
|
getY(): number;
|
|
1035
1035
|
setY(y: number): void;
|
|
1036
1036
|
}
|
|
1037
|
-
export type LogHandlerPlain = CustomLogHandlerPlain |
|
|
1037
|
+
export type LogHandlerPlain = CustomLogHandlerPlain | ConsoleLogHandlerPlain | FileLogHandlerPlain;
|
|
1038
1038
|
export type CustomLogHandlerPlain = {
|
|
1039
1039
|
log(message: any): void;
|
|
1040
1040
|
warn?(message: any): void;
|
|
@@ -1413,14 +1413,14 @@ export type TestResultContainerPlain = { readonly exception?: Error; readonly te
|
|
|
1413
1413
|
readonly layoutMatches?: number;
|
|
1414
1414
|
readonly noneMatches?: number;
|
|
1415
1415
|
readonly url?: string;
|
|
1416
|
-
}; readonly browserInfo?: { name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "Blackberry PlayBook" | "BlackBerry Z30" | "Galaxy A5" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 2" | "Galaxy Note 3" | "Galaxy Note 4" | "Galaxy Note 8" | "Galaxy Note 9" | "Galaxy S3" | "Galaxy S5" | "Galaxy S8" | "Galaxy S8 Plus" | "Galaxy S9" | "Galaxy S9 Plus" | "Galaxy S10" | "Galaxy S10 Plus" | "Galaxy S20" | "Galaxy S22" | "Galaxy Tab S7" | "iPad" | "iPad 6th Gen" | "iPad 7th Gen" | "iPad Air 2" | "iPad Mini" | "iPad Pro" | "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone XR" | "iPhone XS" | "iPhone XS Max" | "Kindle Fire HDX" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "Laptop with touch" | "LG G6" | "LG Optimus L70" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Nexus 10" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Nexus 7" | "Nokia Lumia 520" | "Nokia N9" | "OnePlus 7T" | "OnePlus 7T Pro" | "Pixel 2" | "Pixel 2 XL" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5"; screenOrientation?: "
|
|
1416
|
+
}; readonly browserInfo?: { name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "Blackberry PlayBook" | "BlackBerry Z30" | "Galaxy A5" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 2" | "Galaxy Note 3" | "Galaxy Note 4" | "Galaxy Note 8" | "Galaxy Note 9" | "Galaxy S3" | "Galaxy S5" | "Galaxy S8" | "Galaxy S8 Plus" | "Galaxy S9" | "Galaxy S9 Plus" | "Galaxy S10" | "Galaxy S10 Plus" | "Galaxy S20" | "Galaxy S22" | "Galaxy Tab S7" | "iPad" | "iPad 6th Gen" | "iPad 7th Gen" | "iPad Air 2" | "iPad Mini" | "iPad Pro" | "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone XR" | "iPhone XS" | "iPhone XS Max" | "Kindle Fire HDX" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "Laptop with touch" | "LG G6" | "LG Optimus L70" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Nexus 10" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Nexus 7" | "Nokia Lumia 520" | "Nokia N9" | "OnePlus 7T" | "OnePlus 7T Pro" | "Pixel 2" | "Pixel 2 XL" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5"; screenOrientation?: "landscape" | "portrait"; }; } | { iosDeviceInfo: { deviceName: "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone X" | "iPhone XR" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 13" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 12" | "iPhone 12 mini" | "iPhone Xs" | "iPhone 8" | "iPhone 8 Plus" | "iPhone 7" | "iPhone SE (1st generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (2nd generation)" | "iPad Air (4th generation)"; iosVersion?: "latest" | "latest-1"; screenOrientation?: "landscape" | "portrait"; }; }; };
|
|
1417
1417
|
export class TestResultContainer implements Required<TestResultContainerPlain> {
|
|
1418
1418
|
get testResults(): TestResultsPlain;
|
|
1419
1419
|
getTestResults(): TestResults;
|
|
1420
1420
|
get exception(): Error;
|
|
1421
1421
|
getException(): Error;
|
|
1422
|
-
get browserInfo(): { name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "Blackberry PlayBook" | "BlackBerry Z30" | "Galaxy A5" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 2" | "Galaxy Note 3" | "Galaxy Note 4" | "Galaxy Note 8" | "Galaxy Note 9" | "Galaxy S3" | "Galaxy S5" | "Galaxy S8" | "Galaxy S8 Plus" | "Galaxy S9" | "Galaxy S9 Plus" | "Galaxy S10" | "Galaxy S10 Plus" | "Galaxy S20" | "Galaxy S22" | "Galaxy Tab S7" | "iPad" | "iPad 6th Gen" | "iPad 7th Gen" | "iPad Air 2" | "iPad Mini" | "iPad Pro" | "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone XR" | "iPhone XS" | "iPhone XS Max" | "Kindle Fire HDX" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "Laptop with touch" | "LG G6" | "LG Optimus L70" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Nexus 10" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Nexus 7" | "Nokia Lumia 520" | "Nokia N9" | "OnePlus 7T" | "OnePlus 7T Pro" | "Pixel 2" | "Pixel 2 XL" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5"; screenOrientation?: "
|
|
1423
|
-
getBrowserInfo(): { name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "Blackberry PlayBook" | "BlackBerry Z30" | "Galaxy A5" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 2" | "Galaxy Note 3" | "Galaxy Note 4" | "Galaxy Note 8" | "Galaxy Note 9" | "Galaxy S3" | "Galaxy S5" | "Galaxy S8" | "Galaxy S8 Plus" | "Galaxy S9" | "Galaxy S9 Plus" | "Galaxy S10" | "Galaxy S10 Plus" | "Galaxy S20" | "Galaxy S22" | "Galaxy Tab S7" | "iPad" | "iPad 6th Gen" | "iPad 7th Gen" | "iPad Air 2" | "iPad Mini" | "iPad Pro" | "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone XR" | "iPhone XS" | "iPhone XS Max" | "Kindle Fire HDX" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "Laptop with touch" | "LG G6" | "LG Optimus L70" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Nexus 10" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Nexus 7" | "Nokia Lumia 520" | "Nokia N9" | "OnePlus 7T" | "OnePlus 7T Pro" | "Pixel 2" | "Pixel 2 XL" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5"; screenOrientation?: "
|
|
1422
|
+
get browserInfo(): { name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "Blackberry PlayBook" | "BlackBerry Z30" | "Galaxy A5" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 2" | "Galaxy Note 3" | "Galaxy Note 4" | "Galaxy Note 8" | "Galaxy Note 9" | "Galaxy S3" | "Galaxy S5" | "Galaxy S8" | "Galaxy S8 Plus" | "Galaxy S9" | "Galaxy S9 Plus" | "Galaxy S10" | "Galaxy S10 Plus" | "Galaxy S20" | "Galaxy S22" | "Galaxy Tab S7" | "iPad" | "iPad 6th Gen" | "iPad 7th Gen" | "iPad Air 2" | "iPad Mini" | "iPad Pro" | "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone XR" | "iPhone XS" | "iPhone XS Max" | "Kindle Fire HDX" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "Laptop with touch" | "LG G6" | "LG Optimus L70" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Nexus 10" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Nexus 7" | "Nokia Lumia 520" | "Nokia N9" | "OnePlus 7T" | "OnePlus 7T Pro" | "Pixel 2" | "Pixel 2 XL" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5"; screenOrientation?: "landscape" | "portrait"; }; } | { iosDeviceInfo: { deviceName: "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone X" | "iPhone XR" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 13" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 12" | "iPhone 12 mini" | "iPhone Xs" | "iPhone 8" | "iPhone 8 Plus" | "iPhone 7" | "iPhone SE (1st generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (2nd generation)" | "iPad Air (4th generation)"; iosVersion?: "latest" | "latest-1"; screenOrientation?: "landscape" | "portrait"; }; };
|
|
1423
|
+
getBrowserInfo(): { name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "Blackberry PlayBook" | "BlackBerry Z30" | "Galaxy A5" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 2" | "Galaxy Note 3" | "Galaxy Note 4" | "Galaxy Note 8" | "Galaxy Note 9" | "Galaxy S3" | "Galaxy S5" | "Galaxy S8" | "Galaxy S8 Plus" | "Galaxy S9" | "Galaxy S9 Plus" | "Galaxy S10" | "Galaxy S10 Plus" | "Galaxy S20" | "Galaxy S22" | "Galaxy Tab S7" | "iPad" | "iPad 6th Gen" | "iPad 7th Gen" | "iPad Air 2" | "iPad Mini" | "iPad Pro" | "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "iPhone XR" | "iPhone XS" | "iPhone XS Max" | "Kindle Fire HDX" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "Laptop with touch" | "LG G6" | "LG Optimus L70" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Nexus 10" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Nexus 7" | "Nokia Lumia 520" | "Nokia N9" | "OnePlus 7T" | "OnePlus 7T Pro" | "Pixel 2" | "Pixel 2 XL" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5"; screenOrientation?: "landscape" | "portrait"; }; } | { iosDeviceInfo: { deviceName: "iPhone 11" | "iPhone 11 Pro" | "iPhone 11 Pro Max" | "iPhone X" | "iPhone XR" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 13" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 12" | "iPhone 12 mini" | "iPhone Xs" | "iPhone 8" | "iPhone 8 Plus" | "iPhone 7" | "iPhone SE (1st generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (2nd generation)" | "iPad Air (4th generation)"; iosVersion?: "latest" | "latest-1"; screenOrientation?: "landscape" | "portrait"; }; };
|
|
1424
1424
|
}
|
|
1425
1425
|
export type TestResultsSummaryPlain = {
|
|
1426
1426
|
results: Array<TestResultContainerPlain>;
|
|
@@ -1469,7 +1469,6 @@ export class Logger {
|
|
|
1469
1469
|
open(): void;
|
|
1470
1470
|
close(): void;
|
|
1471
1471
|
tag(name: string, value: any): void;
|
|
1472
|
-
extend(options?: import('node_modules/@applitools/logger/types/logger.d.ts').ExtendOptions): Logger;
|
|
1473
1472
|
extend(label?: string): Logger;
|
|
1474
1473
|
}
|
|
1475
1474
|
export function closeBatch(spec: { closeBatches(options: { settings: { batchIds: Array<string>; serverUrl?: string; apiKey?: string; proxy?: ProxySettingsPlain; }; }): Promise<void>; }): (options: { batchIds: Array<string>; serverUrl?: string; apiKey?: string; proxy?: ProxySettingsPlain; }) => Promise<void>;
|