@applitools/eyes 1.15.0 → 1.17.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
CHANGED
|
@@ -1,5 +1,194 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.17.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.17.0...js/eyes@1.17.1) (2024-04-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/spec-driver-selenium bumped to 1.5.74
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
|
|
17
|
+
* @applitools/core-base bumped to 1.10.1
|
|
18
|
+
#### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
|
|
21
|
+
* @applitools/ec-client bumped to 1.7.32
|
|
22
|
+
|
|
23
|
+
* @applitools/core bumped to 4.11.1
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [1.17.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-v1.16.3...js/eyes@1.17.0) (2024-03-31)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* add Eyes.getResults method ([#2046](https://github.com/Applitools-Dev/sdk/issues/2046)) ([#2069](https://github.com/Applitools-Dev/sdk/issues/2069)) ([4d263e1](https://github.com/Applitools-Dev/sdk/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
|
|
32
|
+
* Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
|
|
33
|
+
* added `enableEyesLogs` configuration to the eyes service ([639ca8a](https://github.com/Applitools-Dev/sdk/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
|
|
34
|
+
* added `useExecutionCloud` configuration to the eyes service ([#2033](https://github.com/Applitools-Dev/sdk/issues/2033)) ([639ca8a](https://github.com/Applitools-Dev/sdk/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
|
|
35
|
+
* generate more enums ([#2179](https://github.com/Applitools-Dev/sdk/issues/2179)) ([5f4f916](https://github.com/Applitools-Dev/sdk/commit/5f4f91621b791a02464191123f69b12f590b9efe))
|
|
36
|
+
* ios multi device target ([#2160](https://github.com/Applitools-Dev/sdk/issues/2160)) ([3874fb8](https://github.com/Applitools-Dev/sdk/commit/3874fb8ad77039abbb5ab78c00ffb45829b2db28))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* error to unknown type in exception ([#2035](https://github.com/Applitools-Dev/sdk/issues/2035)) ([16d78c3](https://github.com/Applitools-Dev/sdk/commit/16d78c3cce90a5cb50cc2aa4e9ab6a58b7b93f89))
|
|
42
|
+
* fixed default value in `useSystemScreenshot` method of check settings ([42a773c](https://github.com/Applitools-Dev/sdk/commit/42a773cc57e8e5de528a049b376159615892003b))
|
|
43
|
+
* fixed issue when w3c properties were added to legacy capabilities object in `Eyes.setMobileCapabilities` method ([94d785f](https://github.com/Applitools-Dev/sdk/commit/94d785f0428df101c207d6f09a55c46f2bdbf19e))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Dependencies
|
|
47
|
+
|
|
48
|
+
* @applitools/spec-driver-selenium bumped to 1.5.73
|
|
49
|
+
#### Bug Fixes
|
|
50
|
+
|
|
51
|
+
* remove getSessionDetails call in JS Selenium ([#2280](https://github.com/Applitools-Dev/sdk/issues/2280)) ([d15748f](https://github.com/Applitools-Dev/sdk/commit/d15748f68c931f2f84c13efd8472399c1ff72e25))
|
|
52
|
+
* @applitools/core-base bumped to 1.10.0
|
|
53
|
+
#### Features
|
|
54
|
+
|
|
55
|
+
* Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
|
|
56
|
+
* batch buildId ([#2263](https://github.com/Applitools-Dev/sdk/issues/2263)) ([f19ac38](https://github.com/Applitools-Dev/sdk/commit/f19ac38612bc55d870f59161a39b5b7eb01e25f3))
|
|
57
|
+
* send heartbeat to keep test alive ([#2246](https://github.com/Applitools-Dev/sdk/issues/2246)) ([58636e7](https://github.com/Applitools-Dev/sdk/commit/58636e7dd353f06eb2b3bee1120ab81c3f9fcc94))
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
#### Bug Fixes
|
|
61
|
+
|
|
62
|
+
* retry Eyes request on ECONNREFUSED to improve stability during deployment ([d1e4dca](https://github.com/Applitools-Dev/sdk/commit/d1e4dcae79185578808b4f2c5f94fa79d7d914a3))
|
|
63
|
+
* @applitools/ec-client bumped to 1.7.31
|
|
64
|
+
|
|
65
|
+
* @applitools/core bumped to 4.11.0
|
|
66
|
+
#### Features
|
|
67
|
+
|
|
68
|
+
* Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
|
|
69
|
+
* batch buildId ([#2263](https://github.com/Applitools-Dev/sdk/issues/2263)) ([f19ac38](https://github.com/Applitools-Dev/sdk/commit/f19ac38612bc55d870f59161a39b5b7eb01e25f3))
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
## [1.16.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.16.1...js/eyes@1.16.2) (2024-03-18)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### Dependencies
|
|
78
|
+
|
|
79
|
+
* @applitools/css-tree bumped to 1.1.2
|
|
80
|
+
#### Bug Fixes
|
|
81
|
+
|
|
82
|
+
* trigger js release again ([1695f3d](https://github.com/Applitools-Dev/sdk/commit/1695f3d9967c7ab7b5d8c8637e86faa935a9047f))
|
|
83
|
+
* @applitools/dom-snapshot bumped to 4.9.2
|
|
84
|
+
|
|
85
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.3
|
|
86
|
+
|
|
87
|
+
* @applitools/spec-driver-selenium bumped to 1.5.72
|
|
88
|
+
|
|
89
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.3
|
|
90
|
+
|
|
91
|
+
* @applitools/driver bumped to 1.16.5
|
|
92
|
+
#### Bug Fixes
|
|
93
|
+
|
|
94
|
+
* trigger js release again ([1695f3d](https://github.com/Applitools-Dev/sdk/commit/1695f3d9967c7ab7b5d8c8637e86faa935a9047f))
|
|
95
|
+
* @applitools/screenshoter bumped to 3.8.27
|
|
96
|
+
|
|
97
|
+
* @applitools/nml-client bumped to 1.7.5
|
|
98
|
+
|
|
99
|
+
* @applitools/ufg-client bumped to 1.10.2
|
|
100
|
+
|
|
101
|
+
* @applitools/ec-client bumped to 1.7.30
|
|
102
|
+
|
|
103
|
+
* @applitools/core bumped to 4.10.2
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
## [1.16.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.16.0...js/eyes@1.16.1) (2024-03-18)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### Dependencies
|
|
110
|
+
|
|
111
|
+
* @applitools/css-tree bumped to 1.1.1
|
|
112
|
+
#### Bug Fixes
|
|
113
|
+
|
|
114
|
+
* trigger js release ([dbc9bf8](https://github.com/Applitools-Dev/sdk/commit/dbc9bf8da3ab5d93e570881ba2c61efa47a1b342))
|
|
115
|
+
* @applitools/dom-snapshot bumped to 4.9.1
|
|
116
|
+
|
|
117
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.2
|
|
118
|
+
|
|
119
|
+
* @applitools/spec-driver-selenium bumped to 1.5.71
|
|
120
|
+
|
|
121
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.2
|
|
122
|
+
|
|
123
|
+
* @applitools/driver bumped to 1.16.4
|
|
124
|
+
#### Bug Fixes
|
|
125
|
+
|
|
126
|
+
* trigger js release ([dbc9bf8](https://github.com/Applitools-Dev/sdk/commit/dbc9bf8da3ab5d93e570881ba2c61efa47a1b342))
|
|
127
|
+
* @applitools/screenshoter bumped to 3.8.26
|
|
128
|
+
|
|
129
|
+
* @applitools/nml-client bumped to 1.7.4
|
|
130
|
+
|
|
131
|
+
* @applitools/ufg-client bumped to 1.10.1
|
|
132
|
+
|
|
133
|
+
* @applitools/ec-client bumped to 1.7.29
|
|
134
|
+
|
|
135
|
+
* @applitools/core bumped to 4.10.1
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
## [1.16.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.15.0...js/eyes@1.16.0) (2024-03-17)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
### Features
|
|
142
|
+
|
|
143
|
+
* ios multi device target ([#2160](https://github.com/Applitools-Dev/sdk/issues/2160)) ([3874fb8](https://github.com/Applitools-Dev/sdk/commit/3874fb8ad77039abbb5ab78c00ffb45829b2db28))
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Dependencies
|
|
147
|
+
|
|
148
|
+
* @applitools/css-tree bumped to 1.1.0
|
|
149
|
+
#### Features
|
|
150
|
+
|
|
151
|
+
* support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
|
|
152
|
+
* @applitools/dom-snapshot bumped to 4.9.0
|
|
153
|
+
#### Features
|
|
154
|
+
|
|
155
|
+
* support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
* @applitools/driver bumped to 1.16.3
|
|
160
|
+
#### Bug Fixes
|
|
161
|
+
|
|
162
|
+
* skip execution of getCurrentWorld and getWorlds when env var is set ([#2234](https://github.com/Applitools-Dev/sdk/issues/2234)) ([3a88602](https://github.com/Applitools-Dev/sdk/commit/3a886028b0437b73dae0474408d9bb74ba940dec))
|
|
163
|
+
* trigger build ([acb9c88](https://github.com/Applitools-Dev/sdk/commit/acb9c88161cf55e8b1e409425b5571d69a2e1d5c))
|
|
164
|
+
* @applitools/ufg-client bumped to 1.10.0
|
|
165
|
+
#### Features
|
|
166
|
+
|
|
167
|
+
* support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
|
|
168
|
+
* throttle fetching resources by default ([#2216](https://github.com/Applitools-Dev/sdk/issues/2216)) ([a2da800](https://github.com/Applitools-Dev/sdk/commit/a2da80076eb30241a168500903a9d80344900213))
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.1
|
|
173
|
+
|
|
174
|
+
* @applitools/spec-driver-selenium bumped to 1.5.70
|
|
175
|
+
|
|
176
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.1
|
|
177
|
+
|
|
178
|
+
* @applitools/screenshoter bumped to 3.8.25
|
|
179
|
+
|
|
180
|
+
* @applitools/nml-client bumped to 1.7.3
|
|
181
|
+
|
|
182
|
+
* @applitools/ec-client bumped to 1.7.28
|
|
183
|
+
|
|
184
|
+
* @applitools/core bumped to 4.10.0
|
|
185
|
+
#### Features
|
|
186
|
+
|
|
187
|
+
* support webview in nml ([#2236](https://github.com/Applitools-Dev/sdk/issues/2236)) ([b4440d8](https://github.com/Applitools-Dev/sdk/commit/b4440d86a863d1af8089f8606ac6819636fa46f4))
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
3
192
|
## [1.15.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-v1.14.1...js/eyes@1.15.0) (2024-02-29)
|
|
4
193
|
|
|
5
194
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* GENERATED FILE */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.IosMultiDeviceTargetEnum = void 0;
|
|
5
|
+
var IosMultiDeviceTargetEnum;
|
|
6
|
+
(function (IosMultiDeviceTargetEnum) {
|
|
7
|
+
IosMultiDeviceTargetEnum["iPhone_SE_3"] = "iPhone SE (3rd generation)";
|
|
8
|
+
IosMultiDeviceTargetEnum["iPhone_SE_2"] = "iPhone SE (2nd generation)";
|
|
9
|
+
IosMultiDeviceTargetEnum["iPhone_8"] = "iPhone 8";
|
|
10
|
+
IosMultiDeviceTargetEnum["iPhone_8_Plus"] = "iPhone 8 Plus";
|
|
11
|
+
IosMultiDeviceTargetEnum["iPhone_13_mini"] = "iPhone 13 mini";
|
|
12
|
+
IosMultiDeviceTargetEnum["iPhone_12_mini"] = "iPhone 12 mini";
|
|
13
|
+
IosMultiDeviceTargetEnum["iPhone_11_Pro"] = "iPhone 11 Pro";
|
|
14
|
+
IosMultiDeviceTargetEnum["iPhone_X"] = "iPhone X";
|
|
15
|
+
IosMultiDeviceTargetEnum["iPhone_XR"] = "iPhone XR";
|
|
16
|
+
IosMultiDeviceTargetEnum["iPhone_Xs"] = "iPhone Xs";
|
|
17
|
+
IosMultiDeviceTargetEnum["iPhone_Xs_Max"] = "iPhone Xs Max";
|
|
18
|
+
IosMultiDeviceTargetEnum["iPhone_11"] = "iPhone 11";
|
|
19
|
+
IosMultiDeviceTargetEnum["iPhone_11_Pro_Max"] = "iPhone 11 Pro Max";
|
|
20
|
+
IosMultiDeviceTargetEnum["iPhone_12"] = "iPhone 12";
|
|
21
|
+
IosMultiDeviceTargetEnum["iPhone_12_Pro"] = "iPhone 12 Pro";
|
|
22
|
+
IosMultiDeviceTargetEnum["iPhone_12_Pro_Max"] = "iPhone 12 Pro Max";
|
|
23
|
+
IosMultiDeviceTargetEnum["iPhone_13"] = "iPhone 13";
|
|
24
|
+
IosMultiDeviceTargetEnum["iPhone_13_Pro"] = "iPhone 13 Pro";
|
|
25
|
+
IosMultiDeviceTargetEnum["iPhone_13_Pro_Max"] = "iPhone 13 Pro Max";
|
|
26
|
+
IosMultiDeviceTargetEnum["iPhone_14"] = "iPhone 14";
|
|
27
|
+
IosMultiDeviceTargetEnum["iPhone_14_Pro"] = "iPhone 14 Pro";
|
|
28
|
+
IosMultiDeviceTargetEnum["iPhone_14_Plus"] = "iPhone 14 Plus";
|
|
29
|
+
IosMultiDeviceTargetEnum["iPhone_14_Pro_Max"] = "iPhone 14 Pro Max";
|
|
30
|
+
})(IosMultiDeviceTargetEnum || (exports.IosMultiDeviceTargetEnum = IosMultiDeviceTargetEnum = {}));
|
|
@@ -420,6 +420,20 @@ class ConfigurationData {
|
|
|
420
420
|
this.baselineBranchName = baselineBranchName;
|
|
421
421
|
return this;
|
|
422
422
|
}
|
|
423
|
+
get gitMergeBaseTimestamp() {
|
|
424
|
+
return this._config.gitMergeBaseTimestamp;
|
|
425
|
+
}
|
|
426
|
+
set gitMergeBaseTimestamp(gitMergeBaseTimestamp) {
|
|
427
|
+
utils.guard.isString(gitMergeBaseTimestamp, { name: 'gitMergeBaseTimestamp' });
|
|
428
|
+
this._config.gitMergeBaseTimestamp = gitMergeBaseTimestamp;
|
|
429
|
+
}
|
|
430
|
+
getGitMergeBaseTimestamp() {
|
|
431
|
+
return this.gitMergeBaseTimestamp;
|
|
432
|
+
}
|
|
433
|
+
setGitMergeBaseTimestamp(gitMergeBaseTimestamp) {
|
|
434
|
+
this.gitMergeBaseTimestamp = gitMergeBaseTimestamp;
|
|
435
|
+
return this;
|
|
436
|
+
}
|
|
423
437
|
get compareWithParentBranch() {
|
|
424
438
|
return this._config.compareWithParentBranch;
|
|
425
439
|
}
|
|
@@ -880,6 +894,12 @@ class ConfigurationData {
|
|
|
880
894
|
}
|
|
881
895
|
return this;
|
|
882
896
|
}
|
|
897
|
+
addMultiDeviceTarget(deviceName) {
|
|
898
|
+
if (!this.browsersInfo)
|
|
899
|
+
this.browsersInfo = [];
|
|
900
|
+
this.browsersInfo.push({ iosDeviceInfo: { deviceName } });
|
|
901
|
+
return this;
|
|
902
|
+
}
|
|
883
903
|
get visualGridOptions() {
|
|
884
904
|
return this._config.visualGridOptions;
|
|
885
905
|
}
|
|
@@ -985,6 +1005,7 @@ class ConfigurationData {
|
|
|
985
1005
|
baselineBranchName: this.baselineBranchName,
|
|
986
1006
|
compareWithParentBranch: this.compareWithParentBranch,
|
|
987
1007
|
ignoreBaseline: this.ignoreBaseline,
|
|
1008
|
+
gitBranchingTimestamp: this.gitMergeBaseTimestamp,
|
|
988
1009
|
ignoreGitBranching: this.ignoreGitMergeBase,
|
|
989
1010
|
saveDiffs: this.saveDiffs,
|
|
990
1011
|
keepBatchOpen: this.dontCloseBatches,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"applitools",
|
|
6
6
|
"eyes",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"test": "run --top-level mocha './test/**/*.spec.ts'"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@applitools/core": "4.
|
|
48
|
+
"@applitools/core": "4.11.1",
|
|
49
49
|
"@applitools/logger": "2.0.14",
|
|
50
50
|
"@applitools/utils": "1.7.0"
|
|
51
51
|
},
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare enum IosMultiDeviceTargetEnum {
|
|
2
|
+
iPhone_SE_3 = "iPhone SE (3rd generation)",
|
|
3
|
+
iPhone_SE_2 = "iPhone SE (2nd generation)",
|
|
4
|
+
iPhone_8 = "iPhone 8",
|
|
5
|
+
iPhone_8_Plus = "iPhone 8 Plus",
|
|
6
|
+
iPhone_13_mini = "iPhone 13 mini",
|
|
7
|
+
iPhone_12_mini = "iPhone 12 mini",
|
|
8
|
+
iPhone_11_Pro = "iPhone 11 Pro",
|
|
9
|
+
iPhone_X = "iPhone X",
|
|
10
|
+
iPhone_XR = "iPhone XR",
|
|
11
|
+
iPhone_Xs = "iPhone Xs",
|
|
12
|
+
iPhone_Xs_Max = "iPhone Xs Max",
|
|
13
|
+
iPhone_11 = "iPhone 11",
|
|
14
|
+
iPhone_11_Pro_Max = "iPhone 11 Pro Max",
|
|
15
|
+
iPhone_12 = "iPhone 12",
|
|
16
|
+
iPhone_12_Pro = "iPhone 12 Pro",
|
|
17
|
+
iPhone_12_Pro_Max = "iPhone 12 Pro Max",
|
|
18
|
+
iPhone_13 = "iPhone 13",
|
|
19
|
+
iPhone_13_Pro = "iPhone 13 Pro",
|
|
20
|
+
iPhone_13_Pro_Max = "iPhone 13 Pro Max",
|
|
21
|
+
iPhone_14 = "iPhone 14",
|
|
22
|
+
iPhone_14_Pro = "iPhone 14 Pro",
|
|
23
|
+
iPhone_14_Plus = "iPhone 14 Plus",
|
|
24
|
+
iPhone_14_Pro_Max = "iPhone 14 Pro Max"
|
|
25
|
+
}
|
|
26
|
+
export type IosMultiDeviceTarget = `${IosMultiDeviceTargetEnum}`;
|
|
@@ -9,9 +9,10 @@ import { AndroidDeviceName } from '../enums/AndroidDeviceName';
|
|
|
9
9
|
import { AndroidVersion } from '../enums/AndroidVersion';
|
|
10
10
|
import { IosDeviceName } from '../enums/IosDeviceName';
|
|
11
11
|
import { IosVersion } from '../enums/IosVersion';
|
|
12
|
+
import { IosMultiDeviceTarget } from '../enums/IosMultiDeviceTarget';
|
|
12
13
|
import { ScreenOrientation } from '../enums/ScreenOrientation';
|
|
13
14
|
import { AccessibilitySettings } from './AccessibilitySettings';
|
|
14
|
-
import {
|
|
15
|
+
import { RenderInfo, RenderInfoLegacy } from './RenderInfo';
|
|
15
16
|
import { CutProvider } from './CutProvider';
|
|
16
17
|
import { DebugScreenshotProvider } from './DebugScreenshotProvider';
|
|
17
18
|
import { RectangleSize, RectangleSizeData } from './RectangleSize';
|
|
@@ -21,7 +22,6 @@ import { AUTProxySettings } from './AUTProxySettings';
|
|
|
21
22
|
import { BatchInfo, BatchInfoData } from './BatchInfo';
|
|
22
23
|
import { PropertyData, PropertyDataData } from './PropertyData';
|
|
23
24
|
import { ImageMatchSettings } from './ImageMatchSettings';
|
|
24
|
-
type RenderInfo = DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | ChromeEmulationInfoLegacy;
|
|
25
25
|
export type Configuration<TSpec extends Core.SpecType = Core.SpecType> = {
|
|
26
26
|
/** @undocumented */
|
|
27
27
|
debugScreenshots?: DebugScreenshotProvider;
|
|
@@ -52,6 +52,7 @@ export type Configuration<TSpec extends Core.SpecType = Core.SpecType> = {
|
|
|
52
52
|
environmentName?: string;
|
|
53
53
|
branchName?: string;
|
|
54
54
|
parentBranchName?: string;
|
|
55
|
+
gitMergeBaseTimestamp?: string;
|
|
55
56
|
baselineBranchName?: string;
|
|
56
57
|
compareWithParentBranch?: boolean;
|
|
57
58
|
ignoreBaseline?: boolean;
|
|
@@ -75,7 +76,7 @@ export type Configuration<TSpec extends Core.SpecType = Core.SpecType> = {
|
|
|
75
76
|
scaleRatio?: number;
|
|
76
77
|
/** @undocumented */
|
|
77
78
|
concurrentSessions?: number;
|
|
78
|
-
browsersInfo?:
|
|
79
|
+
browsersInfo?: RenderInfo[];
|
|
79
80
|
visualGridOptions?: Record<string, any>;
|
|
80
81
|
layoutBreakpoints?: boolean | number[] | {
|
|
81
82
|
breakpoints: number[] | boolean;
|
|
@@ -206,6 +207,10 @@ export declare class ConfigurationData<TSpec extends Core.SpecType = Core.SpecTy
|
|
|
206
207
|
set baselineBranchName(baselineBranchName: string);
|
|
207
208
|
getBaselineBranchName(): string;
|
|
208
209
|
setBaselineBranchName(baselineBranchName: string): this;
|
|
210
|
+
get gitMergeBaseTimestamp(): string;
|
|
211
|
+
set gitMergeBaseTimestamp(gitMergeBaseTimestamp: string);
|
|
212
|
+
getGitMergeBaseTimestamp(): string;
|
|
213
|
+
setGitMergeBaseTimestamp(gitMergeBaseTimestamp: string): this;
|
|
209
214
|
get compareWithParentBranch(): boolean;
|
|
210
215
|
set compareWithParentBranch(compareWithParentBranch: boolean);
|
|
211
216
|
getCompareWithParentBranch(): boolean;
|
|
@@ -322,16 +327,17 @@ export declare class ConfigurationData<TSpec extends Core.SpecType = Core.SpecTy
|
|
|
322
327
|
getConcurrentSessions(): number;
|
|
323
328
|
/** @undocumented */
|
|
324
329
|
setConcurrentSessions(concurrentSessions: number): this;
|
|
325
|
-
get browsersInfo():
|
|
326
|
-
set browsersInfo(browsersInfo:
|
|
330
|
+
get browsersInfo(): RenderInfo[];
|
|
331
|
+
set browsersInfo(browsersInfo: RenderInfo[]);
|
|
327
332
|
getBrowsersInfo(): RenderInfo[];
|
|
328
|
-
setBrowsersInfo(browsersInfo:
|
|
329
|
-
addBrowsers(...browsersInfo:
|
|
330
|
-
addBrowser(browserInfo:
|
|
333
|
+
setBrowsersInfo(browsersInfo: RenderInfoLegacy[]): this;
|
|
334
|
+
addBrowsers(...browsersInfo: RenderInfoLegacy[]): this;
|
|
335
|
+
addBrowser(browserInfo: RenderInfoLegacy): this;
|
|
331
336
|
addBrowser(width: number, height: number, name?: BrowserType): this;
|
|
332
337
|
addDeviceEmulation(deviceName: DeviceName, screenOrientation?: ScreenOrientation): this;
|
|
333
338
|
addMobileDevice(deviceName: AndroidDeviceName, screenOrientation: ScreenOrientation, version?: AndroidVersion): this;
|
|
334
339
|
addMobileDevice(deviceName: IosDeviceName, screenOrientation: ScreenOrientation, version?: IosVersion): this;
|
|
340
|
+
addMultiDeviceTarget(deviceName: IosMultiDeviceTarget): this;
|
|
335
341
|
get visualGridOptions(): {
|
|
336
342
|
[key: string]: any;
|
|
337
343
|
};
|
|
@@ -380,4 +386,3 @@ export declare class ConfigurationData<TSpec extends Core.SpecType = Core.SpecTy
|
|
|
380
386
|
/** @internal */
|
|
381
387
|
toString(): string;
|
|
382
388
|
}
|
|
383
|
-
export {};
|
|
@@ -5,6 +5,7 @@ import { IosVersion } from '../enums/IosVersion';
|
|
|
5
5
|
import { AndroidDeviceName } from '../enums/AndroidDeviceName';
|
|
6
6
|
import { AndroidVersion } from '../enums/AndroidVersion';
|
|
7
7
|
import { ScreenOrientation } from '../enums/ScreenOrientation';
|
|
8
|
+
import { IosMultiDeviceTarget } from '../enums/IosMultiDeviceTarget';
|
|
8
9
|
export type DesktopBrowserInfo = {
|
|
9
10
|
name?: BrowserType;
|
|
10
11
|
width: number;
|
|
@@ -35,3 +36,8 @@ export type AndroidDeviceInfo = {
|
|
|
35
36
|
screenOrientation?: ScreenOrientation;
|
|
36
37
|
};
|
|
37
38
|
};
|
|
39
|
+
export type IOSMultiDeviceInfo = {
|
|
40
|
+
deviceName: IosMultiDeviceTarget;
|
|
41
|
+
};
|
|
42
|
+
export type RenderInfoLegacy = DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | ChromeEmulationInfoLegacy;
|
|
43
|
+
export type RenderInfo = DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | IOSMultiDeviceInfo;
|