@applitools/eyes 1.43.1 → 1.43.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 +45 -0
- package/dist/Eyes.js +2 -2
- package/dist/input/Configuration.js +18 -1
- package/package.json +2 -2
- package/types/Eyes.d.ts +2 -2
- package/types/index.d.ts +1 -1
- package/types/input/Configuration.d.ts +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.43.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.43.1...js/eyes@1.43.2) (2026-06-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/dom-snapshot bumped to 4.17.3
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* capture opaque-origin sandboxed blob iframes in UFG | FLD-4606 ([#3916](https://github.com/Applitools-Dev/sdk/issues/3916)) ([9296f7e](https://github.com/Applitools-Dev/sdk/commit/9296f7ef9fe3aa3889402009860ef5e3276f0303))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* @applitools/snippets bumped to 2.9.3
|
|
16
|
+
#### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* capture opaque-origin sandboxed blob iframes in UFG | FLD-4606 ([#3916](https://github.com/Applitools-Dev/sdk/issues/3916)) ([9296f7e](https://github.com/Applitools-Dev/sdk/commit/9296f7ef9fe3aa3889402009860ef5e3276f0303))
|
|
19
|
+
* @applitools/driver bumped to 1.26.3
|
|
20
|
+
|
|
21
|
+
* @applitools/spec-driver-webdriver bumped to 1.6.3
|
|
22
|
+
|
|
23
|
+
* @applitools/spec-driver-selenium bumped to 1.8.3
|
|
24
|
+
|
|
25
|
+
* @applitools/spec-driver-playwright bumped to 1.9.3
|
|
26
|
+
|
|
27
|
+
* @applitools/spec-driver-puppeteer bumped to 1.8.3
|
|
28
|
+
|
|
29
|
+
* @applitools/screenshoter bumped to 3.12.22
|
|
30
|
+
|
|
31
|
+
* @applitools/nml-client bumped to 1.11.31
|
|
32
|
+
|
|
33
|
+
* @applitools/ec-client bumped to 1.12.33
|
|
34
|
+
|
|
35
|
+
* @applitools/core bumped to 4.65.0
|
|
36
|
+
#### Features
|
|
37
|
+
|
|
38
|
+
* add useLatestEnvBaseline to session startInfo | AD-14089 ([#3887](https://github.com/Applitools-Dev/sdk/issues/3887)) ([b15b9af](https://github.com/Applitools-Dev/sdk/commit/b15b9af34328193f6705c90a26c24aa1e4b23d1c))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
#### Bug Fixes
|
|
42
|
+
|
|
43
|
+
* capture opaque-origin sandboxed blob iframes in UFG | FLD-4606 ([#3916](https://github.com/Applitools-Dev/sdk/issues/3916)) ([9296f7e](https://github.com/Applitools-Dev/sdk/commit/9296f7ef9fe3aa3889402009860ef5e3276f0303))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
3
48
|
## [1.43.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.43.0...js/eyes@1.43.1) (2026-06-09)
|
|
4
49
|
|
|
5
50
|
|
package/dist/Eyes.js
CHANGED
|
@@ -581,8 +581,8 @@ class Eyes {
|
|
|
581
581
|
getBaselineEnvName() {
|
|
582
582
|
return this._config.getBaselineEnvName();
|
|
583
583
|
}
|
|
584
|
-
setBaselineEnvName(baselineEnvName) {
|
|
585
|
-
this._config.setBaselineEnvName(baselineEnvName);
|
|
584
|
+
setBaselineEnvName(baselineEnvName, options) {
|
|
585
|
+
this._config.setBaselineEnvName(baselineEnvName, options);
|
|
586
586
|
}
|
|
587
587
|
getBranchName() {
|
|
588
588
|
return this._config.getBranchName();
|
|
@@ -180,10 +180,26 @@ class ConfigurationData {
|
|
|
180
180
|
getBaselineEnvName() {
|
|
181
181
|
return this.baselineEnvName;
|
|
182
182
|
}
|
|
183
|
-
setBaselineEnvName(baselineEnvName) {
|
|
183
|
+
setBaselineEnvName(baselineEnvName, options) {
|
|
184
184
|
this.baselineEnvName = baselineEnvName;
|
|
185
|
+
if (options !== undefined) {
|
|
186
|
+
utils.guard.isObject(options, { name: 'options' });
|
|
187
|
+
if (options.useLatestEnvBaseline !== undefined) {
|
|
188
|
+
utils.guard.isBoolean(options.useLatestEnvBaseline, { name: 'options.useLatestEnvBaseline' });
|
|
189
|
+
}
|
|
190
|
+
this._config.baselineEnvOptions = options;
|
|
191
|
+
}
|
|
185
192
|
return this;
|
|
186
193
|
}
|
|
194
|
+
/** @internal */
|
|
195
|
+
get baselineEnvOptions() {
|
|
196
|
+
return this._config.baselineEnvOptions;
|
|
197
|
+
}
|
|
198
|
+
/** @internal */
|
|
199
|
+
set baselineEnvOptions(baselineEnvOptions) {
|
|
200
|
+
utils.guard.isObject(baselineEnvOptions, { name: 'baselineEnvOptions' });
|
|
201
|
+
this._config.baselineEnvOptions = baselineEnvOptions;
|
|
202
|
+
}
|
|
187
203
|
get batch() {
|
|
188
204
|
return this._config.batch;
|
|
189
205
|
}
|
|
@@ -1217,6 +1233,7 @@ class ConfigurationData {
|
|
|
1217
1233
|
properties: this.properties,
|
|
1218
1234
|
batch: this.batch,
|
|
1219
1235
|
baselineEnvName: this.baselineEnvName,
|
|
1236
|
+
baselineEnvOptions: this._config.baselineEnvOptions,
|
|
1220
1237
|
environmentName: this.environmentName,
|
|
1221
1238
|
environment: utils.general.removeUndefinedProps({
|
|
1222
1239
|
hostingApp: this.hostApp,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes",
|
|
3
|
-
"version": "1.43.
|
|
3
|
+
"version": "1.43.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"applitools",
|
|
6
6
|
"eyes",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"test": "run --top-level mocha './test/**/*.spec.ts'"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@applitools/core": "4.
|
|
53
|
+
"@applitools/core": "4.65.0",
|
|
54
54
|
"@applitools/logger": "2.2.12",
|
|
55
55
|
"@applitools/utils": "1.14.5",
|
|
56
56
|
"chalk": "4.1.2",
|
package/types/Eyes.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { Image } from './input/Image';
|
|
|
10
10
|
import { OCRSettings } from './input/OCRSettings';
|
|
11
11
|
import { VisualLocatorSettings } from './input/VisualLocatorSettings';
|
|
12
12
|
import { ProxySettings, ProxySettingsData } from './input/ProxySettings';
|
|
13
|
-
import { Configuration, ConfigurationData } from './input/Configuration';
|
|
13
|
+
import { BaselineEnvOptions, Configuration, ConfigurationData } from './input/Configuration';
|
|
14
14
|
import { BatchInfo, BatchInfoData } from './input/BatchInfo';
|
|
15
15
|
import { RectangleSize, RectangleSizeData } from './input/RectangleSize';
|
|
16
16
|
import { Region } from './input/Region';
|
|
@@ -186,7 +186,7 @@ export declare class Eyes<TSpec extends Core.SpecType = Core.SpecType, TCheckSet
|
|
|
186
186
|
/** @deprecated */
|
|
187
187
|
setBaselineName(baselineName: string): void;
|
|
188
188
|
getBaselineEnvName(): string;
|
|
189
|
-
setBaselineEnvName(baselineEnvName: string): void;
|
|
189
|
+
setBaselineEnvName(baselineEnvName: string, options?: BaselineEnvOptions): void;
|
|
190
190
|
getBranchName(): string;
|
|
191
191
|
setBranchName(branchName: string): void;
|
|
192
192
|
getHostApp(): string;
|
package/types/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export { AccessibilitySettings } from './input/AccessibilitySettings';
|
|
|
28
28
|
export { BatchInfo as BatchInfoPlain, BatchInfoData as BatchInfo } from './input/BatchInfo';
|
|
29
29
|
export { Image } from './input/Image';
|
|
30
30
|
export { CheckSettingsImage as CheckSettingsImagePlain, CheckSettingsImageFluent as CheckSettingsImage, CheckSettingsAutomation as CheckSettingsAutomationPlain, CheckSettingsAutomationFluent as CheckSettingsAutomation, TargetImage, TargetAutomation, Target, } from './input/CheckSettings';
|
|
31
|
-
export { Configuration as ConfigurationPlain, ConfigurationData as Configuration } from './input/Configuration';
|
|
31
|
+
export { BaselineEnvOptions, Configuration as ConfigurationPlain, ConfigurationData as Configuration, } from './input/Configuration';
|
|
32
32
|
export { CutProvider as CutProviderPlain, CutProviderData as CutProvider, FixedCutProviderData as FixedCutProvider, UnscaledFixedCutProviderData as UnscaledFixedCutProvider, } from './input/CutProvider';
|
|
33
33
|
export { ExactMatchSettings as ExactMatchSettingsPlain, ExactMatchSettingsData as ExactMatchSettings, } from './input/ExactMatchSettings';
|
|
34
34
|
export { FloatingMatchSettings as FloatingMatchSettingsPlain, FloatingMatchSettingsData as FloatingMatchSettings, } from './input/FloatingMatchSettings';
|
|
@@ -23,6 +23,9 @@ import { PropertyData, PropertyDataData } from './PropertyData';
|
|
|
23
23
|
import { ImageMatchSettings } from './ImageMatchSettings';
|
|
24
24
|
import { LatestCommitInfo } from './LatestCommitInfo';
|
|
25
25
|
type MultiDeviceTargetTypes = IosDeviceTargetNames | AndroidDeviceTargetNames | IosDeviceTarget | AndroidDeviceTarget;
|
|
26
|
+
export type BaselineEnvOptions = {
|
|
27
|
+
useLatestEnvBaseline?: boolean;
|
|
28
|
+
};
|
|
26
29
|
export type Configuration<TSpec extends Core.SpecType = Core.SpecType> = {
|
|
27
30
|
accessibilityValidation?: AccessibilitySettings;
|
|
28
31
|
agentId?: string;
|
|
@@ -31,6 +34,8 @@ export type Configuration<TSpec extends Core.SpecType = Core.SpecType> = {
|
|
|
31
34
|
autProxy?: AUTProxySettings;
|
|
32
35
|
baselineBranchName?: string;
|
|
33
36
|
baselineEnvName?: string;
|
|
37
|
+
/** @internal */
|
|
38
|
+
baselineEnvOptions?: BaselineEnvOptions;
|
|
34
39
|
batch?: BatchInfo;
|
|
35
40
|
branchName?: string;
|
|
36
41
|
browsersInfo?: RenderInfo[];
|
|
@@ -150,7 +155,11 @@ export declare class ConfigurationData<TSpec extends Core.SpecType = Core.SpecTy
|
|
|
150
155
|
get baselineEnvName(): string;
|
|
151
156
|
set baselineEnvName(baselineEnvName: string);
|
|
152
157
|
getBaselineEnvName(): string;
|
|
153
|
-
setBaselineEnvName(baselineEnvName: string): this;
|
|
158
|
+
setBaselineEnvName(baselineEnvName: string, options?: BaselineEnvOptions): this;
|
|
159
|
+
/** @internal */
|
|
160
|
+
get baselineEnvOptions(): BaselineEnvOptions;
|
|
161
|
+
/** @internal */
|
|
162
|
+
set baselineEnvOptions(baselineEnvOptions: BaselineEnvOptions);
|
|
154
163
|
get batch(): BatchInfo;
|
|
155
164
|
set batch(batch: BatchInfo);
|
|
156
165
|
getBatch(): BatchInfoData;
|