@applitools/eyes 1.40.1 → 1.42.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
CHANGED
|
@@ -1,5 +1,180 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.42.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.41.0...js/eyes@1.42.0) (2026-05-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* soft-deprecate CheckSettings.timeout() with telemetry [[#3705](https://github.com/Applitools-Dev/sdk/issues/3705)] ([#3805](https://github.com/Applitools-Dev/sdk/issues/3805)) ([a5d6390](https://github.com/Applitools-Dev/sdk/commit/a5d6390f17fc0380736b88cbe05dd147e66a86cf))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Dependencies
|
|
17
|
+
|
|
18
|
+
* @applitools/req bumped to 1.10.1
|
|
19
|
+
#### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
|
|
22
|
+
* @applitools/dom-snapshot bumped to 4.17.1
|
|
23
|
+
|
|
24
|
+
* @applitools/snippets bumped to 2.9.1
|
|
25
|
+
#### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* declare @babel/preset-typescript dep for sandbox build ([#3815](https://github.com/Applitools-Dev/sdk/issues/3815)) ([10c44c6](https://github.com/Applitools-Dev/sdk/commit/10c44c66635f1ed4e0361f22ecebf2221c2cc912))
|
|
28
|
+
* @applitools/driver bumped to 1.26.1
|
|
29
|
+
#### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* address CI regressions from executeBrowserCommands and Chromium 140+ service worker ([#3848](https://github.com/Applitools-Dev/sdk/issues/3848)) ([099ada5](https://github.com/Applitools-Dev/sdk/commit/099ada5e52d4153157b98c2203df428579527e49))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
* @applitools/spec-driver-webdriver bumped to 1.6.1
|
|
36
|
+
|
|
37
|
+
* @applitools/spec-driver-selenium bumped to 1.8.1
|
|
38
|
+
|
|
39
|
+
* @applitools/spec-driver-playwright bumped to 1.9.1
|
|
40
|
+
#### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* address CI regressions from executeBrowserCommands and Chromium 140+ service worker ([#3848](https://github.com/Applitools-Dev/sdk/issues/3848)) ([099ada5](https://github.com/Applitools-Dev/sdk/commit/099ada5e52d4153157b98c2203df428579527e49))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
* @applitools/core-base bumped to 1.34.0
|
|
47
|
+
#### Features
|
|
48
|
+
|
|
49
|
+
* soft-deprecate CheckSettings.timeout() with telemetry [[#3705](https://github.com/Applitools-Dev/sdk/issues/3705)] ([#3805](https://github.com/Applitools-Dev/sdk/issues/3805)) ([a5d6390](https://github.com/Applitools-Dev/sdk/commit/a5d6390f17fc0380736b88cbe05dd147e66a86cf))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
#### Bug Fixes
|
|
53
|
+
|
|
54
|
+
* http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
* @applitools/spec-driver-puppeteer bumped to 1.8.1
|
|
59
|
+
|
|
60
|
+
* @applitools/screenshoter bumped to 3.12.20
|
|
61
|
+
|
|
62
|
+
* @applitools/nml-client bumped to 1.11.27
|
|
63
|
+
|
|
64
|
+
* @applitools/tunnel-client bumped to 1.11.13
|
|
65
|
+
|
|
66
|
+
* @applitools/ufg-client bumped to 1.22.1
|
|
67
|
+
#### Bug Fixes
|
|
68
|
+
|
|
69
|
+
* http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
* @applitools/ec-client bumped to 1.12.29
|
|
74
|
+
|
|
75
|
+
* @applitools/core bumped to 4.63.0
|
|
76
|
+
#### Features
|
|
77
|
+
|
|
78
|
+
* soft-deprecate CheckSettings.timeout() with telemetry [[#3705](https://github.com/Applitools-Dev/sdk/issues/3705)] ([#3805](https://github.com/Applitools-Dev/sdk/issues/3805)) ([a5d6390](https://github.com/Applitools-Dev/sdk/commit/a5d6390f17fc0380736b88cbe05dd147e66a86cf))
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
#### Bug Fixes
|
|
82
|
+
|
|
83
|
+
* avoid double-scaling environment viewport in classic mode | FLD-4359 ([#3793](https://github.com/Applitools-Dev/sdk/issues/3793)) ([246050b](https://github.com/Applitools-Dev/sdk/commit/246050b8a7984b869c068262162a69191c834947))
|
|
84
|
+
* http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## [1.41.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.40.1...js/eyes@1.41.0) (2026-05-05)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Features
|
|
93
|
+
|
|
94
|
+
* add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Dependencies
|
|
98
|
+
|
|
99
|
+
* @applitools/dom-shared bumped to 1.2.0
|
|
100
|
+
#### Features
|
|
101
|
+
|
|
102
|
+
* add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
|
|
103
|
+
* @applitools/dom-snapshot bumped to 4.17.0
|
|
104
|
+
#### Features
|
|
105
|
+
|
|
106
|
+
* add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
#### Bug Fixes
|
|
110
|
+
|
|
111
|
+
* re-trigger release for dom-snapshot (FLD-4452) and mcp (AD-13206) ([#3800](https://github.com/Applitools-Dev/sdk/issues/3800)) ([105dd42](https://github.com/Applitools-Dev/sdk/commit/105dd42010a56c454752eaca69380aaba085073e))
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
* @applitools/snippets bumped to 2.9.0
|
|
116
|
+
#### Features
|
|
117
|
+
|
|
118
|
+
* add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
* @applitools/dom-capture bumped to 11.8.0
|
|
123
|
+
#### Features
|
|
124
|
+
|
|
125
|
+
* add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
* @applitools/driver bumped to 1.26.0
|
|
130
|
+
#### Features
|
|
131
|
+
|
|
132
|
+
* add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
* @applitools/spec-driver-webdriver bumped to 1.6.0
|
|
137
|
+
#### Features
|
|
138
|
+
|
|
139
|
+
* add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
* @applitools/spec-driver-selenium bumped to 1.8.0
|
|
144
|
+
#### Features
|
|
145
|
+
|
|
146
|
+
* add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
* @applitools/spec-driver-playwright bumped to 1.9.0
|
|
151
|
+
#### Features
|
|
152
|
+
|
|
153
|
+
* add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
* @applitools/spec-driver-puppeteer bumped to 1.8.0
|
|
158
|
+
#### Features
|
|
159
|
+
|
|
160
|
+
* add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
* @applitools/screenshoter bumped to 3.12.19
|
|
165
|
+
|
|
166
|
+
* @applitools/nml-client bumped to 1.11.26
|
|
167
|
+
|
|
168
|
+
* @applitools/ec-client bumped to 1.12.28
|
|
169
|
+
|
|
170
|
+
* @applitools/core bumped to 4.62.0
|
|
171
|
+
#### Features
|
|
172
|
+
|
|
173
|
+
* add bypassCSP support for UFG snapshot capture ([#3783](https://github.com/Applitools-Dev/sdk/issues/3783)) ([9e98933](https://github.com/Applitools-Dev/sdk/commit/9e98933b8ffba2ad1928aa2b2110e9a25209a599))
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
3
178
|
## [1.40.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.40.0...js/eyes@1.40.1) (2026-05-04)
|
|
4
179
|
|
|
5
180
|
|
|
@@ -445,6 +445,7 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
|
|
|
445
445
|
super(undefined, parent !== null && parent !== void 0 ? parent : settings === null || settings === void 0 ? void 0 : settings.parent);
|
|
446
446
|
this._settings = null;
|
|
447
447
|
this._spec = null;
|
|
448
|
+
this._usedDeprecations = [];
|
|
448
449
|
const self = CheckSettingsBaseFluent.makeMutableTreeProxy(this, (CheckSettingsAutomationFluent));
|
|
449
450
|
self._spec = spec;
|
|
450
451
|
self._settings = utils.types.instanceOf(settings, CheckSettingsAutomationFluent)
|
|
@@ -455,6 +456,9 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
|
|
|
455
456
|
// copy constructor does not considered as a new child
|
|
456
457
|
parent === null || parent === void 0 ? void 0 : parent.childs.pop();
|
|
457
458
|
}
|
|
459
|
+
else if (utils.types.has(settings, 'timeout') && (settings === null || settings === void 0 ? void 0 : settings.timeout) !== undefined) {
|
|
460
|
+
self._usedDeprecations.push('CheckSettings.timeout');
|
|
461
|
+
}
|
|
458
462
|
return self;
|
|
459
463
|
}
|
|
460
464
|
region(region) {
|
|
@@ -587,7 +591,11 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
|
|
|
587
591
|
this._settings.useSystemScreenshot = useSystemScreenshot;
|
|
588
592
|
return this;
|
|
589
593
|
}
|
|
594
|
+
/**
|
|
595
|
+
* @deprecated Use `Configuration.matchTimeout` during `eyes.open()` instead
|
|
596
|
+
*/
|
|
590
597
|
timeout(timeout) {
|
|
598
|
+
this._usedDeprecations.push('CheckSettings.timeout');
|
|
591
599
|
this._settings.timeout = timeout;
|
|
592
600
|
return this;
|
|
593
601
|
}
|
|
@@ -659,6 +667,7 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
|
|
|
659
667
|
densityMetrics: this._settings.densityMetrics,
|
|
660
668
|
assumesMutability: this.assumesMutability(),
|
|
661
669
|
stitchMode: this._settings.stitchMode,
|
|
670
|
+
usedDeprecations: this._usedDeprecations.length ? this._usedDeprecations : undefined,
|
|
662
671
|
}),
|
|
663
672
|
};
|
|
664
673
|
}
|
|
@@ -473,6 +473,19 @@ class ConfigurationData {
|
|
|
473
473
|
this.deviceInfo = deviceInfo;
|
|
474
474
|
return this;
|
|
475
475
|
}
|
|
476
|
+
get bypassCSP() {
|
|
477
|
+
return this._config.bypassCSP;
|
|
478
|
+
}
|
|
479
|
+
set bypassCSP(bypassCSP) {
|
|
480
|
+
this._config.bypassCSP = bypassCSP;
|
|
481
|
+
}
|
|
482
|
+
getBypassCSP() {
|
|
483
|
+
return this.bypassCSP;
|
|
484
|
+
}
|
|
485
|
+
setBypassCSP(bypassCSP) {
|
|
486
|
+
this.bypassCSP = bypassCSP;
|
|
487
|
+
return this;
|
|
488
|
+
}
|
|
476
489
|
get disableBrowserFetching() {
|
|
477
490
|
return this._config.disableBrowserFetching;
|
|
478
491
|
}
|
|
@@ -1227,6 +1240,7 @@ class ConfigurationData {
|
|
|
1227
1240
|
saveDiffs: this.saveDiffs,
|
|
1228
1241
|
keepBatchOpen: this.dontCloseBatches,
|
|
1229
1242
|
disableBrokerUrlCache: this.disableNMLUrlCache,
|
|
1243
|
+
bypassCSP: this.bypassCSP,
|
|
1230
1244
|
}),
|
|
1231
1245
|
screenshot: utils.general.removeUndefinedProps({
|
|
1232
1246
|
fully: (_a = this.fully) !== null && _a !== void 0 ? _a : this.forceFullPageScreenshot,
|
|
@@ -1249,6 +1263,7 @@ class ConfigurationData {
|
|
|
1249
1263
|
mobileOptions: this.mobileOptions,
|
|
1250
1264
|
}),
|
|
1251
1265
|
check: utils.general.removeUndefinedProps({
|
|
1266
|
+
httpVersion: this.httpVersion,
|
|
1252
1267
|
environments: (_c = this.browsersInfo) === null || _c === void 0 ? void 0 : _c.map(browserInfo => {
|
|
1253
1268
|
if (utils.types.has(browserInfo, 'iosDeviceInfo') &&
|
|
1254
1269
|
utils.types.has(browserInfo.iosDeviceInfo, 'iosVersion')) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.42.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"applitools",
|
|
6
6
|
"eyes",
|
|
@@ -50,15 +50,16 @@
|
|
|
50
50
|
"test": "run --top-level mocha './test/**/*.spec.ts'"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@applitools/core": "4.
|
|
53
|
+
"@applitools/core": "4.63.0",
|
|
54
54
|
"@applitools/logger": "2.2.11",
|
|
55
55
|
"@applitools/utils": "1.14.4",
|
|
56
56
|
"chalk": "4.1.2",
|
|
57
57
|
"yargs": "17.7.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@applitools/req": "^1.10.
|
|
61
|
-
"@types/node": "^12.20.55"
|
|
60
|
+
"@applitools/req": "^1.10.1",
|
|
61
|
+
"@types/node": "^12.20.55",
|
|
62
|
+
"nock": "^13.3.0"
|
|
62
63
|
},
|
|
63
64
|
"engines": {
|
|
64
65
|
"node": ">=12.13.0"
|
|
@@ -100,6 +100,7 @@ export type CheckSettingsAutomation<TSpec extends Core.SpecType, TRegionReferenc
|
|
|
100
100
|
hooks?: {
|
|
101
101
|
beforeCaptureScreenshot: string;
|
|
102
102
|
};
|
|
103
|
+
/** @deprecated Use `Configuration.matchTimeout` instead */
|
|
103
104
|
timeout?: number;
|
|
104
105
|
waitBeforeCapture?: number | (() => Promise<void>);
|
|
105
106
|
lazyLoad?: boolean | LazyLoadOptions;
|
|
@@ -217,6 +218,7 @@ export declare class CheckSettingsAutomationFluent<TSpec extends Core.SpecType =
|
|
|
217
218
|
protected _settings: CheckSettingsAutomation<TSpec>;
|
|
218
219
|
protected static readonly _spec: Core.SpecDriver<Core.SpecType>;
|
|
219
220
|
protected _spec: Core.SpecDriver<TSpec>;
|
|
221
|
+
protected _usedDeprecations: string[];
|
|
220
222
|
protected _isElementReference(value: any): value is ElementReference<TSpec>;
|
|
221
223
|
protected _isSelectorReference(selector: any): selector is SelectorReference<TSpec>;
|
|
222
224
|
protected _isFrameReference(value: any): value is FrameReference<TSpec>;
|
|
@@ -255,6 +257,9 @@ export declare class CheckSettingsAutomationFluent<TSpec extends Core.SpecType =
|
|
|
255
257
|
[key: string]: any;
|
|
256
258
|
}): this;
|
|
257
259
|
useSystemScreenshot(useSystemScreenshot?: boolean): this;
|
|
260
|
+
/**
|
|
261
|
+
* @deprecated Use `Configuration.matchTimeout` during `eyes.open()` instead
|
|
262
|
+
*/
|
|
258
263
|
timeout(timeout: number): typeof this;
|
|
259
264
|
waitBeforeCapture(waitBeforeCapture: number | (() => Promise<void>)): typeof this;
|
|
260
265
|
lazyLoad(options?: LazyLoadOptions | boolean): typeof this;
|
|
@@ -45,6 +45,7 @@ export type Configuration<TSpec extends Core.SpecType = Core.SpecType> = {
|
|
|
45
45
|
debugScreenshots?: DebugScreenshotProvider;
|
|
46
46
|
defaultMatchSettings?: ImageMatchSettings;
|
|
47
47
|
deviceInfo?: string;
|
|
48
|
+
bypassCSP?: boolean;
|
|
48
49
|
disableBrowserFetching?: boolean;
|
|
49
50
|
disableNMLUrlCache?: boolean;
|
|
50
51
|
displayName?: string;
|
|
@@ -251,6 +252,10 @@ export declare class ConfigurationData<TSpec extends Core.SpecType = Core.SpecTy
|
|
|
251
252
|
set deviceInfo(deviceInfo: string);
|
|
252
253
|
getDeviceInfo(): string;
|
|
253
254
|
setDeviceInfo(deviceInfo: string): this;
|
|
255
|
+
get bypassCSP(): boolean;
|
|
256
|
+
set bypassCSP(bypassCSP: boolean);
|
|
257
|
+
getBypassCSP(): boolean;
|
|
258
|
+
setBypassCSP(bypassCSP: boolean): this;
|
|
254
259
|
get disableBrowserFetching(): boolean;
|
|
255
260
|
set disableBrowserFetching(disableBrowserFetching: boolean);
|
|
256
261
|
getDisableBrowserFetching(): boolean;
|