@applitools/eyes 1.26.4 → 1.28.0
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 +87 -0
- package/dist/index.js +2 -6
- package/dist/input/Configuration.js +14 -24
- package/package.json +3 -3
- package/types/index.d.ts +1 -3
- package/types/input/Configuration.d.ts +15 -6
- package/types/input/RenderInfo.d.ts +2 -11
- package/types/output/TestResultContainer.d.ts +2 -2
- package/dist/enums/AndroidDeviceName.js +0 -39
- package/dist/enums/AndroidVersion.js +0 -8
- package/types/enums/AndroidDeviceName.d.ts +0 -35
- package/types/enums/AndroidVersion.d.ts +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,92 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.28.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.27.0...js/eyes@1.28.0) (2024-11-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* remove Android NMG API ([#2566](https://github.com/Applitools-Dev/sdk/issues/2566)) ([750c0f0](https://github.com/Applitools-Dev/sdk/commit/750c0f0263e5ff06f86055e7ba0c3fb47cadb620))
|
|
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/req bumped to 1.7.4
|
|
18
|
+
#### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* 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))
|
|
21
|
+
* @applitools/core-base bumped to 1.19.3
|
|
22
|
+
#### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* 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))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
* @applitools/dom-snapshot bumped to 4.11.11
|
|
29
|
+
|
|
30
|
+
* @applitools/dom-capture bumped to 11.5.2
|
|
31
|
+
|
|
32
|
+
* @applitools/nml-client bumped to 1.8.19
|
|
33
|
+
|
|
34
|
+
* @applitools/tunnel-client bumped to 1.5.10
|
|
35
|
+
|
|
36
|
+
* @applitools/ufg-client bumped to 1.14.1
|
|
37
|
+
|
|
38
|
+
* @applitools/ec-client bumped to 1.9.15
|
|
39
|
+
|
|
40
|
+
* @applitools/core bumped to 4.24.2
|
|
41
|
+
#### Bug Fixes
|
|
42
|
+
|
|
43
|
+
* 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))
|
|
44
|
+
* 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))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## [1.27.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.26.4...js/eyes@1.27.0) (2024-11-12)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Features
|
|
53
|
+
|
|
54
|
+
* 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))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Dependencies
|
|
58
|
+
|
|
59
|
+
* @applitools/dom-snapshot bumped to 4.11.9
|
|
60
|
+
|
|
61
|
+
* @applitools/driver bumped to 1.20.0
|
|
62
|
+
#### Features
|
|
63
|
+
|
|
64
|
+
* 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))
|
|
65
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.20
|
|
66
|
+
|
|
67
|
+
* @applitools/spec-driver-selenium bumped to 1.5.91
|
|
68
|
+
|
|
69
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.20
|
|
70
|
+
|
|
71
|
+
* @applitools/screenshoter bumped to 3.10.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
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
* @applitools/nml-client bumped to 1.8.18
|
|
79
|
+
|
|
80
|
+
* @applitools/ec-client bumped to 1.9.14
|
|
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
|
+
|
|
3
90
|
## [1.26.4](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.26.3...js/eyes@1.26.4) (2024-11-11)
|
|
4
91
|
|
|
5
92
|
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppUrls = exports.ApiUrls = exports.RunnerOptions = exports.RunnerOptionsFluent = exports.Region = exports.RectangleSize = exports.ProxySettings = exports.PropertyData = exports.NullLogHandler = exports.ConsoleLogHandler = exports.FileLogHandler = exports.LogHandler = exports.Location = exports.ImageRotation = exports.ImageMatchSettings = exports.FloatingMatchSettings = exports.ExactMatchSettings = exports.UnscaledFixedCutProvider = exports.FixedCutProvider = exports.CutProvider = exports.Configuration = exports.Target = exports.TargetAutomation = exports.TargetImage = exports.CheckSettingsAutomation = exports.CheckSettingsImage = exports.BatchInfo = exports.AccessibilityMatchSettings = exports.NewTestError = exports.DiffsFoundError = exports.TestFailedError = exports.EyesError = exports.DynamicTextType = exports.AccessibilityStatus = exports.AccessibilityRegionType = exports.AccessibilityLevel = exports.AccessibilityGuidelinesVersion = exports.TestResultsStatus = exports.StitchMode = exports.SessionType = exports.ScreenOrientation = exports.MatchLevel = exports.
|
|
4
|
-
exports.RemoteSessionEventHandler = exports.SessionEventHandlers = exports.SessionEventHandler = exports.VisualGridRunner = exports.ClassicRunner = exports.EyesRunner = exports.closeBatch = exports.BatchClose = exports.Eyes = exports.Logger = exports.ValidationResult = exports.ValidationInfo = exports.TestResultsSummary = exports.TestResultContainer = exports.TestResults = exports.StepInfo =
|
|
3
|
+
exports.SessionUrls = exports.MatchResult = exports.AppUrls = exports.ApiUrls = exports.RunnerOptions = exports.RunnerOptionsFluent = exports.Region = exports.RectangleSize = exports.ProxySettings = exports.PropertyData = exports.NullLogHandler = exports.ConsoleLogHandler = exports.FileLogHandler = exports.LogHandler = exports.Location = exports.ImageRotation = exports.ImageMatchSettings = exports.FloatingMatchSettings = exports.ExactMatchSettings = exports.UnscaledFixedCutProvider = exports.FixedCutProvider = exports.CutProvider = exports.Configuration = exports.Target = exports.TargetAutomation = exports.TargetImage = exports.CheckSettingsAutomation = exports.CheckSettingsImage = exports.BatchInfo = exports.AccessibilityMatchSettings = exports.NewTestError = exports.DiffsFoundError = exports.TestFailedError = exports.EyesError = exports.DynamicTextType = exports.AccessibilityStatus = exports.AccessibilityRegionType = exports.AccessibilityLevel = exports.AccessibilityGuidelinesVersion = exports.TestResultsStatus = exports.StitchMode = exports.SessionType = exports.ScreenOrientation = exports.MatchLevel = exports.IosVersion = exports.IosDeviceName = exports.FailureReport = exports.DeviceName = exports.CorsIframeHandle = exports.BrowserType = void 0;
|
|
4
|
+
exports.RemoteSessionEventHandler = exports.SessionEventHandlers = exports.SessionEventHandler = exports.VisualGridRunner = exports.ClassicRunner = exports.EyesRunner = exports.closeBatch = exports.BatchClose = exports.Eyes = exports.Logger = exports.ValidationResult = exports.ValidationInfo = exports.TestResultsSummary = exports.TestResultContainer = exports.TestResults = exports.StepInfo = void 0;
|
|
5
5
|
// #region ENUM
|
|
6
6
|
var BrowserType_1 = require("./enums/BrowserType");
|
|
7
7
|
Object.defineProperty(exports, "BrowserType", { enumerable: true, get: function () { return BrowserType_1.BrowserTypeEnum; } });
|
|
@@ -15,10 +15,6 @@ var IosDeviceName_1 = require("./enums/IosDeviceName");
|
|
|
15
15
|
Object.defineProperty(exports, "IosDeviceName", { enumerable: true, get: function () { return IosDeviceName_1.IosDeviceNameEnum; } });
|
|
16
16
|
var IosVersion_1 = require("./enums/IosVersion");
|
|
17
17
|
Object.defineProperty(exports, "IosVersion", { enumerable: true, get: function () { return IosVersion_1.IosVersionEnum; } });
|
|
18
|
-
var AndroidDeviceName_1 = require("./enums/AndroidDeviceName");
|
|
19
|
-
Object.defineProperty(exports, "AndroidDeviceName", { enumerable: true, get: function () { return AndroidDeviceName_1.AndroidDeviceNameEnum; } });
|
|
20
|
-
var AndroidVersion_1 = require("./enums/AndroidVersion");
|
|
21
|
-
Object.defineProperty(exports, "AndroidVersion", { enumerable: true, get: function () { return AndroidVersion_1.AndroidVersionEnum; } });
|
|
22
18
|
var MatchLevel_1 = require("./enums/MatchLevel");
|
|
23
19
|
Object.defineProperty(exports, "MatchLevel", { enumerable: true, get: function () { return MatchLevel_1.MatchLevelEnum; } });
|
|
24
20
|
var ScreenOrientation_1 = require("./enums/ScreenOrientation");
|
|
@@ -27,7 +27,6 @@ exports.ConfigurationData = void 0;
|
|
|
27
27
|
const StitchMode_1 = require("../enums/StitchMode");
|
|
28
28
|
const MatchLevel_1 = require("../enums/MatchLevel");
|
|
29
29
|
const BrowserType_1 = require("../enums/BrowserType");
|
|
30
|
-
const IosDeviceName_1 = require("../enums/IosDeviceName");
|
|
31
30
|
const ScreenOrientation_1 = require("../enums/ScreenOrientation");
|
|
32
31
|
const RectangleSize_1 = require("./RectangleSize");
|
|
33
32
|
const ImageRotation_1 = require("./ImageRotation");
|
|
@@ -226,29 +225,6 @@ class ConfigurationData {
|
|
|
226
225
|
this.browsersInfo.push({ chromeEmulationInfo: { deviceName, screenOrientation } });
|
|
227
226
|
return this;
|
|
228
227
|
}
|
|
229
|
-
addMobileDevice(deviceName, screenOrientation, version) {
|
|
230
|
-
if (!this.browsersInfo)
|
|
231
|
-
this.browsersInfo = [];
|
|
232
|
-
if (utils.types.isEnumValue(deviceName, IosDeviceName_1.IosDeviceNameEnum)) {
|
|
233
|
-
this.browsersInfo.push({
|
|
234
|
-
iosDeviceInfo: {
|
|
235
|
-
deviceName: deviceName,
|
|
236
|
-
screenOrientation,
|
|
237
|
-
iosVersion: version,
|
|
238
|
-
},
|
|
239
|
-
});
|
|
240
|
-
}
|
|
241
|
-
else {
|
|
242
|
-
this.browsersInfo.push({
|
|
243
|
-
androidDeviceInfo: {
|
|
244
|
-
deviceName: deviceName,
|
|
245
|
-
screenOrientation,
|
|
246
|
-
version: version,
|
|
247
|
-
},
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
return this;
|
|
251
|
-
}
|
|
252
228
|
addMultiDeviceTarget(deviceName) {
|
|
253
229
|
if (!this.browsersInfo)
|
|
254
230
|
this.browsersInfo = [];
|
|
@@ -706,6 +682,19 @@ class ConfigurationData {
|
|
|
706
682
|
this.matchTimeout = matchTimeout;
|
|
707
683
|
return this;
|
|
708
684
|
}
|
|
685
|
+
get mobileOptions() {
|
|
686
|
+
return this._config.mobileOptions;
|
|
687
|
+
}
|
|
688
|
+
set mobileOptions(mobileOptions) {
|
|
689
|
+
this._config.mobileOptions = mobileOptions;
|
|
690
|
+
}
|
|
691
|
+
getMobileOptions() {
|
|
692
|
+
return this.mobileOptions;
|
|
693
|
+
}
|
|
694
|
+
setMobileOptions(mobileOptions) {
|
|
695
|
+
this.mobileOptions = mobileOptions;
|
|
696
|
+
return this;
|
|
697
|
+
}
|
|
709
698
|
get parentBranchName() {
|
|
710
699
|
return this._config.parentBranchName;
|
|
711
700
|
}
|
|
@@ -1092,6 +1081,7 @@ class ConfigurationData {
|
|
|
1092
1081
|
? this.debugScreenshots
|
|
1093
1082
|
: undefined,
|
|
1094
1083
|
captureStatusBar: this.captureStatusBar,
|
|
1084
|
+
mobileOptions: this.mobileOptions,
|
|
1095
1085
|
}),
|
|
1096
1086
|
check: utils.general.removeUndefinedProps({
|
|
1097
1087
|
environments: (_b = this.browsersInfo) === null || _b === void 0 ? void 0 : _b.map(browserInfo => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"applitools",
|
|
6
6
|
"eyes",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"test": "run --top-level mocha './test/**/*.spec.ts'"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@applitools/core": "4.
|
|
48
|
+
"@applitools/core": "4.24.2",
|
|
49
49
|
"@applitools/logger": "2.0.19",
|
|
50
50
|
"@applitools/utils": "1.7.5"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@applitools/req": "^1.7.
|
|
53
|
+
"@applitools/req": "^1.7.4",
|
|
54
54
|
"@types/node": "^12.20.55"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|
package/types/index.d.ts
CHANGED
|
@@ -4,8 +4,6 @@ export { DeviceName as DeviceNamePlain, DeviceNameEnum as DeviceName } from './e
|
|
|
4
4
|
export { FailureReport as FailureReportPlain, FailureReportEnum as FailureReport } from './enums/FailureReport';
|
|
5
5
|
export { IosDeviceName as IosDeviceNamePlain, IosDeviceNameEnum as IosDeviceName } from './enums/IosDeviceName';
|
|
6
6
|
export { IosVersion as IosVersionPlain, IosVersionEnum as IosVersion } from './enums/IosVersion';
|
|
7
|
-
export { AndroidDeviceName as AndroidDeviceNamePlain, AndroidDeviceNameEnum as AndroidDeviceName, } from './enums/AndroidDeviceName';
|
|
8
|
-
export { AndroidVersion as AndroidVersionPlain, AndroidVersionEnum as AndroidVersion } from './enums/AndroidVersion';
|
|
9
7
|
export { MatchLevel as MatchLevelPlain, MatchLevelEnum as MatchLevel } from './enums/MatchLevel';
|
|
10
8
|
export { ScreenOrientation as ScreenOrientationPlain, ScreenOrientationEnum as ScreenOrientation, } from './enums/ScreenOrientation';
|
|
11
9
|
export { SessionType as SessionTypePlain, SessionTypeEnum as SessionType } from './enums/SessionType';
|
|
@@ -39,7 +37,7 @@ export { PropertyData as PropertyDataPlain, PropertyDataData as PropertyData } f
|
|
|
39
37
|
export { ProxySettings as ProxySettingsPlain, ProxySettingsData as ProxySettings } from './input/ProxySettings';
|
|
40
38
|
export { RectangleSize as RectangleSizePlain, RectangleSizeData as RectangleSize } from './input/RectangleSize';
|
|
41
39
|
export { Region as RegionPlain, LegacyRegion as LegacyRegionPlain, RegionData as Region } from './input/Region';
|
|
42
|
-
export { DesktopBrowserInfo, ChromeEmulationInfo, IOSDeviceInfo
|
|
40
|
+
export { DesktopBrowserInfo, ChromeEmulationInfo, IOSDeviceInfo } from './input/RenderInfo';
|
|
43
41
|
export { RunnerOptions as RunnerOptionsPlain, RunnerOptionsFluent, RunnerOptionsFluentInit as RunnerOptions, } from './input/RunnerOptions';
|
|
44
42
|
export { VisualLocatorSettings } from './input/VisualLocatorSettings';
|
|
45
43
|
export { ApiUrls as ApiUrlsPlain, ApiUrlsData as ApiUrls } from './output/ApiUrls';
|
|
@@ -5,10 +5,6 @@ import { StitchMode, StitchModeEnum } from '../enums/StitchMode';
|
|
|
5
5
|
import { MatchLevel, MatchLevelEnum } from '../enums/MatchLevel';
|
|
6
6
|
import { BrowserType } from '../enums/BrowserType';
|
|
7
7
|
import { DeviceName } from '../enums/DeviceName';
|
|
8
|
-
import { AndroidDeviceName } from '../enums/AndroidDeviceName';
|
|
9
|
-
import { AndroidVersion } from '../enums/AndroidVersion';
|
|
10
|
-
import { IosDeviceName } from '../enums/IosDeviceName';
|
|
11
|
-
import { IosVersion } from '../enums/IosVersion';
|
|
12
8
|
import { IosMultiDeviceTarget } from '../enums/IosMultiDeviceTarget';
|
|
13
9
|
import { ScreenOrientation } from '../enums/ScreenOrientation';
|
|
14
10
|
import { AccessibilitySettings } from './AccessibilitySettings';
|
|
@@ -70,6 +66,9 @@ export type Configuration<TSpec extends Core.SpecType = Core.SpecType> = {
|
|
|
70
66
|
};
|
|
71
67
|
matchLevel?: MatchLevel;
|
|
72
68
|
matchTimeout?: number;
|
|
69
|
+
mobileOptions?: {
|
|
70
|
+
keepNavigationBar?: boolean;
|
|
71
|
+
};
|
|
73
72
|
parentBranchName?: string;
|
|
74
73
|
properties?: PropertyData[];
|
|
75
74
|
proxy?: ProxySettings;
|
|
@@ -146,8 +145,6 @@ export declare class ConfigurationData<TSpec extends Core.SpecType = Core.SpecTy
|
|
|
146
145
|
addBrowser(browserInfo: RenderInfoLegacy): this;
|
|
147
146
|
addBrowser(width: number, height: number, name?: BrowserType): this;
|
|
148
147
|
addDeviceEmulation(deviceName: DeviceName, screenOrientation?: ScreenOrientation): this;
|
|
149
|
-
addMobileDevice(deviceName: AndroidDeviceName, screenOrientation: ScreenOrientation, version?: AndroidVersion): this;
|
|
150
|
-
addMobileDevice(deviceName: IosDeviceName, screenOrientation: ScreenOrientation, version?: IosVersion): this;
|
|
151
148
|
addMultiDeviceTarget(deviceName: IosMultiDeviceTarget): this;
|
|
152
149
|
get captureStatusBar(): boolean;
|
|
153
150
|
set captureStatusBar(captureStatusBar: boolean);
|
|
@@ -305,6 +302,18 @@ export declare class ConfigurationData<TSpec extends Core.SpecType = Core.SpecTy
|
|
|
305
302
|
set matchTimeout(matchTimeout: number);
|
|
306
303
|
getMatchTimeout(): number;
|
|
307
304
|
setMatchTimeout(matchTimeout: number): this;
|
|
305
|
+
get mobileOptions(): {
|
|
306
|
+
keepNavigationBar?: boolean;
|
|
307
|
+
};
|
|
308
|
+
set mobileOptions(mobileOptions: {
|
|
309
|
+
keepNavigationBar?: boolean;
|
|
310
|
+
});
|
|
311
|
+
getMobileOptions(): {
|
|
312
|
+
keepNavigationBar?: boolean;
|
|
313
|
+
};
|
|
314
|
+
setMobileOptions(mobileOptions: {
|
|
315
|
+
keepNavigationBar?: boolean;
|
|
316
|
+
}): this;
|
|
308
317
|
get parentBranchName(): string;
|
|
309
318
|
set parentBranchName(parentBranchName: string);
|
|
310
319
|
getParentBranchName(): string;
|
|
@@ -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,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* GENERATED FILE */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.AndroidDeviceNameEnum = void 0;
|
|
5
|
-
var AndroidDeviceNameEnum;
|
|
6
|
-
(function (AndroidDeviceNameEnum) {
|
|
7
|
-
AndroidDeviceNameEnum["Galaxy_S20"] = "Galaxy S20";
|
|
8
|
-
AndroidDeviceNameEnum["Galaxy_S20_Plus"] = "Galaxy S20 Plus";
|
|
9
|
-
/** @deprecated use {@link Galaxy_S20_Plus } instead */
|
|
10
|
-
AndroidDeviceNameEnum["Galaxy_S20_PLUS"] = "Galaxy S20 Plus";
|
|
11
|
-
AndroidDeviceNameEnum["Galaxy_S21_Ultra"] = "Galaxy S21 Ultra";
|
|
12
|
-
/** @deprecated use {@link Galaxy_S21_Ultra } instead */
|
|
13
|
-
AndroidDeviceNameEnum["Galaxy_S21_ULTRA"] = "Galaxy S21 Ultra";
|
|
14
|
-
AndroidDeviceNameEnum["Galaxy_Note_10_Plus"] = "Galaxy Note 10 Plus";
|
|
15
|
-
AndroidDeviceNameEnum["Galaxy_S9"] = "Galaxy S9";
|
|
16
|
-
AndroidDeviceNameEnum["Galaxy_S10"] = "Galaxy S10";
|
|
17
|
-
AndroidDeviceNameEnum["Galaxy_S10_Plus"] = "Galaxy S10 Plus";
|
|
18
|
-
AndroidDeviceNameEnum["Pixel_4_XL"] = "Pixel 4 XL";
|
|
19
|
-
AndroidDeviceNameEnum["Pixel_3_XL"] = "Pixel 3 XL";
|
|
20
|
-
AndroidDeviceNameEnum["Galaxy_S21"] = "Galaxy S21";
|
|
21
|
-
AndroidDeviceNameEnum["Galaxy_S21_Plus"] = "Galaxy S21 Plus";
|
|
22
|
-
/** @deprecated use {@link Galaxy_S21_Plus } instead */
|
|
23
|
-
AndroidDeviceNameEnum["Galaxy_S21_PLUS"] = "Galaxy S21 Plus";
|
|
24
|
-
AndroidDeviceNameEnum["Xiaomi_Redmi_Note_11_Pro"] = "Xiaomi Redmi Note 11 Pro";
|
|
25
|
-
AndroidDeviceNameEnum["Xiaomi_Redmi_Note_11"] = "Xiaomi Redmi Note 11";
|
|
26
|
-
AndroidDeviceNameEnum["Xiaomi_Redmi_Note_10_JE"] = "Xiaomi Redmi Note 10 JE";
|
|
27
|
-
AndroidDeviceNameEnum["Pixel_6"] = "Pixel 6";
|
|
28
|
-
AndroidDeviceNameEnum["Galaxy_Note_10"] = "Galaxy Note 10";
|
|
29
|
-
AndroidDeviceNameEnum["Pixel_4"] = "Pixel 4";
|
|
30
|
-
AndroidDeviceNameEnum["Pixel_5"] = "Pixel 5";
|
|
31
|
-
AndroidDeviceNameEnum["Galaxy_S22"] = "Galaxy S22";
|
|
32
|
-
AndroidDeviceNameEnum["Galaxy_S22_Plus"] = "Galaxy S22 Plus";
|
|
33
|
-
AndroidDeviceNameEnum["Galaxy_Tab_S8"] = "Galaxy Tab S8";
|
|
34
|
-
AndroidDeviceNameEnum["Galaxy_Tab_S7"] = "Galaxy Tab S7";
|
|
35
|
-
AndroidDeviceNameEnum["Sony_Xperia_10_II"] = "Sony Xperia 10 II";
|
|
36
|
-
AndroidDeviceNameEnum["Sony_Xperia_1_II"] = "Sony Xperia 1 II";
|
|
37
|
-
AndroidDeviceNameEnum["Sony_Xperia_Ace_II"] = "Sony Xperia Ace II";
|
|
38
|
-
AndroidDeviceNameEnum["Huawei_P30_Lite"] = "Huawei P30 Lite";
|
|
39
|
-
})(AndroidDeviceNameEnum || (exports.AndroidDeviceNameEnum = AndroidDeviceNameEnum = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AndroidVersionEnum = void 0;
|
|
4
|
-
var AndroidVersionEnum;
|
|
5
|
-
(function (AndroidVersionEnum) {
|
|
6
|
-
AndroidVersionEnum["LATEST"] = "latest";
|
|
7
|
-
AndroidVersionEnum["ONE_VERSION_BACK"] = "latest-1";
|
|
8
|
-
})(AndroidVersionEnum || (exports.AndroidVersionEnum = AndroidVersionEnum = {}));
|
|
@@ -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}`;
|