@applitools/eyes 1.36.19 → 1.37.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 +60 -0
- package/dist/enums/DeviceName.js +3 -0
- package/dist/input/BatchInfo.js +16 -0
- package/package.json +2 -2
- package/types/enums/DeviceName.d.ts +3 -0
- package/types/input/BatchInfo.d.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,65 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.37.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.36.20...js/eyes@1.37.0) (2026-01-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* expose buildId in BatchInfo type | FLD-4020 ([#3466](https://github.com/Applitools-Dev/sdk/issues/3466)) ([7868ba0](https://github.com/Applitools-Dev/sdk/commit/7868ba08de9a9d348c42d8eac5a953dce44844d0))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/core bumped to 4.54.3
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* `close`/`getResults` race condition ([#3450](https://github.com/Applitools-Dev/sdk/issues/3450)) ([2e5437d](https://github.com/Applitools-Dev/sdk/commit/2e5437dcfde6fda58d76227659ee249bfa3885a7))
|
|
17
|
+
|
|
18
|
+
## [1.36.20](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.36.19...js/eyes@1.36.20) (2026-01-11)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Dependencies
|
|
22
|
+
|
|
23
|
+
* @applitools/dom-capture bumped to 11.6.8
|
|
24
|
+
#### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* added support for `font-style` attribute | AD-12435 ([#3458](https://github.com/Applitools-Dev/sdk/issues/3458)) ([f121c2a](https://github.com/Applitools-Dev/sdk/commit/f121c2acdea9285b8b53846466dcb4e2c97820e4))
|
|
27
|
+
* @applitools/dom-snapshot bumped to 4.15.5
|
|
28
|
+
|
|
29
|
+
* @applitools/driver bumped to 1.24.4
|
|
30
|
+
#### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* scrolling element fallback logic | FLD-3959 ([#3442](https://github.com/Applitools-Dev/sdk/issues/3442)) ([36348b4](https://github.com/Applitools-Dev/sdk/commit/36348b46e6a127c99d4ccfa58bf386a8e414fb40))
|
|
33
|
+
* @applitools/core-base bumped to 1.31.1
|
|
34
|
+
#### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* per-API key heartbeat management | FLD-3889 ([#3406](https://github.com/Applitools-Dev/sdk/issues/3406)) ([5d7f380](https://github.com/Applitools-Dev/sdk/commit/5d7f38037f17006dcc923c4a3dc925e8dded25d8))
|
|
37
|
+
* @applitools/spec-driver-webdriver bumped to 1.5.4
|
|
38
|
+
|
|
39
|
+
* @applitools/spec-driver-selenium bumped to 1.7.10
|
|
40
|
+
|
|
41
|
+
* @applitools/spec-driver-puppeteer bumped to 1.6.10
|
|
42
|
+
|
|
43
|
+
* @applitools/screenshoter bumped to 3.12.11
|
|
44
|
+
|
|
45
|
+
* @applitools/nml-client bumped to 1.11.14
|
|
46
|
+
#### Bug Fixes
|
|
47
|
+
|
|
48
|
+
* nml broker retry mechanism | FLD-3968 FLD-3963 FLD-3950 ([#3430](https://github.com/Applitools-Dev/sdk/issues/3430)) ([42617e0](https://github.com/Applitools-Dev/sdk/commit/42617e021f43a89f8a8f2cb914f489ac8d215714))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
* @applitools/ec-client bumped to 1.12.16
|
|
53
|
+
|
|
54
|
+
* @applitools/core bumped to 4.54.2
|
|
55
|
+
#### Bug Fixes
|
|
56
|
+
|
|
57
|
+
* per-API key heartbeat management | FLD-3889 ([#3406](https://github.com/Applitools-Dev/sdk/issues/3406)) ([5d7f380](https://github.com/Applitools-Dev/sdk/commit/5d7f38037f17006dcc923c4a3dc925e8dded25d8))
|
|
58
|
+
* preserve response body in broker handler ([e1bec23](https://github.com/Applitools-Dev/sdk/commit/e1bec23eabf8e8b73db7ec7cd2febb054047f7a7))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
3
63
|
## [1.36.19](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.36.18...js/eyes@1.36.19) (2025-12-28)
|
|
4
64
|
|
|
5
65
|
|
package/dist/enums/DeviceName.js
CHANGED
|
@@ -83,12 +83,15 @@ var DeviceNameEnum;
|
|
|
83
83
|
DeviceNameEnum["Galaxy_Tab_A8"] = "Galaxy Tab A8";
|
|
84
84
|
DeviceNameEnum["Galaxy_S23"] = "Galaxy S23";
|
|
85
85
|
DeviceNameEnum["Galaxy_S23_Ultra"] = "Galaxy S23 Ultra";
|
|
86
|
+
DeviceNameEnum["Galaxy_S25"] = "Galaxy S25";
|
|
87
|
+
DeviceNameEnum["Galaxy_S25_Ultra"] = "Galaxy S25 Ultra";
|
|
86
88
|
DeviceNameEnum["Galaxy_A52s"] = "Galaxy A52s";
|
|
87
89
|
DeviceNameEnum["Pixel_3"] = "Pixel 3";
|
|
88
90
|
DeviceNameEnum["Pixel_3_XL"] = "Pixel 3 XL";
|
|
89
91
|
DeviceNameEnum["Pixel_4"] = "Pixel 4";
|
|
90
92
|
DeviceNameEnum["Pixel_4_XL"] = "Pixel 4 XL";
|
|
91
93
|
DeviceNameEnum["Pixel_5"] = "Pixel 5";
|
|
94
|
+
DeviceNameEnum["Pixel_9"] = "Pixel 9";
|
|
92
95
|
DeviceNameEnum["iPad_7th_Gen"] = "iPad 7th Gen";
|
|
93
96
|
DeviceNameEnum["OnePlus_7T"] = "OnePlus 7T";
|
|
94
97
|
DeviceNameEnum["OnePlus_7T_Pro"] = "OnePlus 7T Pro";
|
package/dist/input/BatchInfo.js
CHANGED
|
@@ -37,6 +37,7 @@ class BatchInfoData {
|
|
|
37
37
|
utils.guard.isString(batch.sequenceName, { name: 'sequenceName', strict: false });
|
|
38
38
|
utils.guard.isBoolean(batch.notifyOnCompletion, { name: 'notifyOnCompletion', strict: false });
|
|
39
39
|
utils.guard.isArray(batch.properties, { name: 'properties', strict: false });
|
|
40
|
+
utils.guard.isString(batch.buildId, { name: 'buildId', strict: false });
|
|
40
41
|
this._batch = {
|
|
41
42
|
id: (_b = (_a = batch.id) !== null && _a !== void 0 ? _a : utils.general.getEnvValue('BATCH_ID')) !== null && _b !== void 0 ? _b : `generated-${utils.general.guid()}`,
|
|
42
43
|
name: (_c = batch.name) !== null && _c !== void 0 ? _c : utils.general.getEnvValue('BATCH_NAME'),
|
|
@@ -44,6 +45,7 @@ class BatchInfoData {
|
|
|
44
45
|
startedAt: (_e = batch.startedAt) !== null && _e !== void 0 ? _e : new Date(),
|
|
45
46
|
notifyOnCompletion: (_g = (_f = batch.notifyOnCompletion) !== null && _f !== void 0 ? _f : utils.general.getEnvValue('BATCH_NOTIFY', 'boolean')) !== null && _g !== void 0 ? _g : false,
|
|
46
47
|
properties: batch.properties,
|
|
48
|
+
buildId: batch.buildId,
|
|
47
49
|
};
|
|
48
50
|
}
|
|
49
51
|
get id() {
|
|
@@ -137,6 +139,20 @@ class BatchInfoData {
|
|
|
137
139
|
this.properties.push(property);
|
|
138
140
|
return this;
|
|
139
141
|
}
|
|
142
|
+
get buildId() {
|
|
143
|
+
return this._batch.buildId;
|
|
144
|
+
}
|
|
145
|
+
set buildId(buildId) {
|
|
146
|
+
utils.guard.isString(buildId, { name: 'buildId', strict: false });
|
|
147
|
+
this._batch.buildId = buildId;
|
|
148
|
+
}
|
|
149
|
+
getBuildId() {
|
|
150
|
+
return this.buildId;
|
|
151
|
+
}
|
|
152
|
+
setBuildId(buildId) {
|
|
153
|
+
this.buildId = buildId;
|
|
154
|
+
return this;
|
|
155
|
+
}
|
|
140
156
|
/** @internal */
|
|
141
157
|
toObject() {
|
|
142
158
|
return this._batch;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.37.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"applitools",
|
|
6
6
|
"eyes",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"test": "run --top-level mocha './test/**/*.spec.ts'"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@applitools/core": "4.54.
|
|
49
|
+
"@applitools/core": "4.54.3",
|
|
50
50
|
"@applitools/logger": "2.2.7",
|
|
51
51
|
"@applitools/utils": "1.14.1",
|
|
52
52
|
"chalk": "4.1.2",
|
|
@@ -78,12 +78,15 @@ export declare enum DeviceNameEnum {
|
|
|
78
78
|
Galaxy_Tab_A8 = "Galaxy Tab A8",
|
|
79
79
|
Galaxy_S23 = "Galaxy S23",
|
|
80
80
|
Galaxy_S23_Ultra = "Galaxy S23 Ultra",
|
|
81
|
+
Galaxy_S25 = "Galaxy S25",
|
|
82
|
+
Galaxy_S25_Ultra = "Galaxy S25 Ultra",
|
|
81
83
|
Galaxy_A52s = "Galaxy A52s",
|
|
82
84
|
Pixel_3 = "Pixel 3",
|
|
83
85
|
Pixel_3_XL = "Pixel 3 XL",
|
|
84
86
|
Pixel_4 = "Pixel 4",
|
|
85
87
|
Pixel_4_XL = "Pixel 4 XL",
|
|
86
88
|
Pixel_5 = "Pixel 5",
|
|
89
|
+
Pixel_9 = "Pixel 9",
|
|
87
90
|
iPad_7th_Gen = "iPad 7th Gen",
|
|
88
91
|
OnePlus_7T = "OnePlus 7T",
|
|
89
92
|
OnePlus_7T_Pro = "OnePlus 7T Pro",
|
|
@@ -6,6 +6,7 @@ export type BatchInfo = {
|
|
|
6
6
|
startedAt?: Date | string;
|
|
7
7
|
notifyOnCompletion?: boolean;
|
|
8
8
|
properties?: PropertyData[];
|
|
9
|
+
buildId?: string;
|
|
9
10
|
};
|
|
10
11
|
export declare class BatchInfoData implements Required<BatchInfo> {
|
|
11
12
|
private _batch;
|
|
@@ -38,6 +39,10 @@ export declare class BatchInfoData implements Required<BatchInfo> {
|
|
|
38
39
|
setProperties(properties: PropertyData[]): this;
|
|
39
40
|
addProperty(name: string, value: string): this;
|
|
40
41
|
addProperty(prop: PropertyData): this;
|
|
42
|
+
get buildId(): string;
|
|
43
|
+
set buildId(buildId: string);
|
|
44
|
+
getBuildId(): string;
|
|
45
|
+
setBuildId(buildId: string): this;
|
|
41
46
|
/** @internal */
|
|
42
47
|
toObject(): BatchInfo;
|
|
43
48
|
/** @internal */
|