@applitools/eyes 1.46.2 → 1.47.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,120 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.47.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.46.3...js/eyes@1.47.0) (2026-10-12)
4
+
5
+
6
+ ### Features
7
+
8
+ * report NLP step counts per Eyes session | AD-16681 ([#4257](https://github.com/Applitools-Dev/sdk/issues/4257)) ([b84a1cc](https://github.com/Applitools-Dev/sdk/commit/b84a1ccac25c4d61a98ee382a18f54c1011c53e6))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-snapshot bumped to 4.18.5
14
+ #### Bug Fixes
15
+
16
+ * keep the video src when there is no source fallback | FLD-4948 ([#4209](https://github.com/Applitools-Dev/sdk/issues/4209)) ([50d0909](https://github.com/Applitools-Dev/sdk/commit/50d09091291dd64055c42104695f8726594558ac))
17
+ * record blob videos so HLS videos render in UFG | AD-16937 ([#4277](https://github.com/Applitools-Dev/sdk/issues/4277)) ([3bdcdcc](https://github.com/Applitools-Dev/sdk/commit/3bdcdccf068ce9f827065f24bd00cb543004f2b3))
18
+
19
+
20
+ #### Performance Improvements
21
+
22
+ * upload inline data: URIs as resources | AD-15789 ([#4119](https://github.com/Applitools-Dev/sdk/issues/4119)) ([cbd9afa](https://github.com/Applitools-Dev/sdk/commit/cbd9afa8de664b32f23119690b14a0aef998acaf))
23
+
24
+
25
+
26
+ * @applitools/req bumped to 1.11.4
27
+ #### Bug Fixes
28
+
29
+ * version-check/telemetry no longer hold the process — connect deadline + unref | AD-16613 ([#4232](https://github.com/Applitools-Dev/sdk/issues/4232)) ([42bcbb5](https://github.com/Applitools-Dev/sdk/commit/42bcbb5dd8d75ad4aa98c2ec0d284f107fdc98e3))
30
+ * @applitools/snippets bumped to 2.9.8
31
+ #### Bug Fixes
32
+
33
+ * stop element id path at the document the snippet runs in | FLD-5098 ([#4285](https://github.com/Applitools-Dev/sdk/issues/4285)) ([94c4296](https://github.com/Applitools-Dev/sdk/commit/94c4296988a94832435cac92096d10ec78e96ce8))
34
+ * @applitools/dom-capture bumped to 11.8.7
35
+ #### Bug Fixes
36
+
37
+ * check element visibility in its own frame and realm | AD-14874 ([#4267](https://github.com/Applitools-Dev/sdk/issues/4267)) ([222025b](https://github.com/Applitools-Dev/sdk/commit/222025b5b77394b661ab49c307146ec6f191ba14))
38
+ * @applitools/core-base bumped to 1.41.0
39
+ #### Features
40
+
41
+ * report NLP step counts per Eyes session | AD-16681 ([#4257](https://github.com/Applitools-Dev/sdk/issues/4257)) ([b84a1cc](https://github.com/Applitools-Dev/sdk/commit/b84a1ccac25c4d61a98ee382a18f54c1011c53e6))
42
+
43
+
44
+ #### Bug Fixes
45
+
46
+ * version-check/telemetry no longer hold the process — connect deadline + unref | AD-16613 ([#4232](https://github.com/Applitools-Dev/sdk/issues/4232)) ([42bcbb5](https://github.com/Applitools-Dev/sdk/commit/42bcbb5dd8d75ad4aa98c2ec0d284f107fdc98e3))
47
+
48
+
49
+
50
+ * @applitools/driver bumped to 1.26.12
51
+
52
+ * @applitools/spec-driver-webdriver bumped to 1.6.12
53
+
54
+ * @applitools/spec-driver-selenium bumped to 1.8.12
55
+
56
+ * @applitools/spec-driver-playwright bumped to 1.9.12
57
+
58
+ * @applitools/spec-driver-puppeteer bumped to 1.8.12
59
+
60
+ * @applitools/screenshoter bumped to 3.12.34
61
+ #### Bug Fixes
62
+
63
+ * do not write an identity transform in mixed+ scrolling | FLD-4370 ([#4272](https://github.com/Applitools-Dev/sdk/issues/4272)) ([b17532a](https://github.com/Applitools-Dev/sdk/commit/b17532ae1b311d5eb092cb866b42accc8f0fc3ae))
64
+
65
+
66
+
67
+ * @applitools/nml-client bumped to 1.12.7
68
+
69
+ * @applitools/tunnel-client bumped to 1.12.5
70
+
71
+ * @applitools/ufg-client bumped to 1.23.6
72
+
73
+ * @applitools/ec-client bumped to 1.12.50
74
+
75
+ * @applitools/core bumped to 4.72.0
76
+ #### Features
77
+
78
+ * per-run accessibility run options for UFG renders | AD-16443 ([#4207](https://github.com/Applitools-Dev/sdk/issues/4207)) ([ea0e789](https://github.com/Applitools-Dev/sdk/commit/ea0e789826304f3ce7adbea32cc85de0718b2722))
79
+
80
+
81
+ #### Bug Fixes
82
+
83
+ * version-check/telemetry no longer hold the process — connect deadline + unref | AD-16613 ([#4232](https://github.com/Applitools-Dev/sdk/issues/4232)) ([42bcbb5](https://github.com/Applitools-Dev/sdk/commit/42bcbb5dd8d75ad4aa98c2ec0d284f107fdc98e3))
84
+
85
+
86
+ #### Performance Improvements
87
+
88
+ * upload inline data: URIs as resources | AD-15789 ([#4119](https://github.com/Applitools-Dev/sdk/issues/4119)) ([cbd9afa](https://github.com/Applitools-Dev/sdk/commit/cbd9afa8de664b32f23119690b14a0aef998acaf))
89
+
90
+
91
+
92
+
93
+ ## [1.46.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.46.2...js/eyes@1.46.3) (2026-10-01)
94
+
95
+
96
+ ### Dependencies
97
+
98
+ * @applitools/core-base bumped to 1.40.0
99
+ #### Features
100
+
101
+ * detect git cherry-picks and report them in StartSession | AD-16372 ([#4235](https://github.com/Applitools-Dev/sdk/issues/4235)) ([92db51e](https://github.com/Applitools-Dev/sdk/commit/92db51e3ea713ee7c59be334d8e11d2c312d1095))
102
+ * @applitools/nml-client bumped to 1.12.6
103
+
104
+ * @applitools/ufg-client bumped to 1.23.5
105
+ #### Bug Fixes
106
+
107
+ * add a deadline for reading a resource body | FLD-4198 ([#4247](https://github.com/Applitools-Dev/sdk/issues/4247)) ([a9faac2](https://github.com/Applitools-Dev/sdk/commit/a9faac2ade1b851e6a00f5bc4a3990f10a345541))
108
+ * @applitools/ec-client bumped to 1.12.49
109
+
110
+ * @applitools/core bumped to 4.71.0
111
+ #### Features
112
+
113
+ * detect git cherry-picks and report them in StartSession | AD-16372 ([#4235](https://github.com/Applitools-Dev/sdk/issues/4235)) ([92db51e](https://github.com/Applitools-Dev/sdk/commit/92db51e3ea713ee7c59be334d8e11d2c312d1095))
114
+
115
+
116
+
117
+
3
118
  ## [1.46.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.46.1...js/eyes@1.46.2) (2026-09-27)
4
119
 
5
120
 
package/dist/Eyes.js CHANGED
@@ -46,6 +46,13 @@ class Eyes {
46
46
  get _sdk() {
47
47
  return this.constructor._sdk;
48
48
  }
49
+ /**
50
+ * Lets SDK subclasses contribute session-scoped settings to close and abort, known only at teardown.
51
+ * @internal
52
+ */
53
+ async _getCloseSettings() {
54
+ return undefined;
55
+ }
49
56
  static async getExecutionCloudUrl(config) {
50
57
  const { core } = (0, SDK_1.initSDK)(this._sdk, config === null || config === void 0 ? void 0 : config.maskLog);
51
58
  const client = await core.getECClient({
@@ -397,12 +404,12 @@ class Eyes {
397
404
  if (this._config.isDisabled)
398
405
  return null;
399
406
  const config = this._config.toJSON();
400
- await ((_a = this._eyes) === null || _a === void 0 ? void 0 : _a.close({ config }));
407
+ await ((_a = this._eyes) === null || _a === void 0 ? void 0 : _a.close({ config, settings: await this._getCloseSettings() }));
401
408
  }
402
409
  async abort() {
403
410
  if (!this.isOpen || this._config.isDisabled)
404
411
  return null;
405
- await this._eyes.abort();
412
+ await this._eyes.abort({ settings: await this._getCloseSettings() });
406
413
  const [result] = await this._eyes.getResults();
407
414
  return new TestResults_1.TestResultsData({ result, core: this._core });
408
415
  }
@@ -410,7 +417,7 @@ class Eyes {
410
417
  var _a;
411
418
  if (!this.isOpen || this._config.isDisabled)
412
419
  return null;
413
- await ((_a = this._eyes) === null || _a === void 0 ? void 0 : _a.abort());
420
+ await ((_a = this._eyes) === null || _a === void 0 ? void 0 : _a.abort({ settings: await this._getCloseSettings() }));
414
421
  }
415
422
  /** @deprecated */
416
423
  async abortIfNotClosed() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.46.2",
3
+ "version": "1.47.0",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -12,14 +12,6 @@
12
12
  "tests"
13
13
  ],
14
14
  "homepage": "https://applitools.com",
15
- "bugs": {
16
- "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
17
- },
18
- "repository": {
19
- "type": "git",
20
- "url": "git://github.com/applitools/eyes.sdk.javascript1.git",
21
- "directory": "js/packages/eyes"
22
- },
23
15
  "license": "SEE LICENSE IN LICENSE",
24
16
  "author": {
25
17
  "name": "Applitools Team",
@@ -50,14 +42,14 @@
50
42
  "test": "run --top-level mocha './test/**/*.spec.ts'"
51
43
  },
52
44
  "dependencies": {
53
- "@applitools/core": "4.70.3",
45
+ "@applitools/core": "4.72.0",
54
46
  "@applitools/logger": "2.3.1",
55
47
  "@applitools/utils": "1.15.2",
56
48
  "chalk": "4.1.2",
57
49
  "yargs": "17.7.2"
58
50
  },
59
51
  "devDependencies": {
60
- "@applitools/req": "^1.11.3",
52
+ "@applitools/req": "^1.11.4",
61
53
  "@types/node": "^12.20.55",
62
54
  "nock": "^13.3.0"
63
55
  },
package/types/Eyes.d.ts CHANGED
@@ -43,6 +43,11 @@ export declare class Eyes<TSpec extends Core.SpecType = Core.SpecType, TCheckSet
43
43
  * @internal
44
44
  */
45
45
  protected _eyes?: Core.Eyes<TSpec, 'classic' | 'ufg'>;
46
+ /**
47
+ * Lets SDK subclasses contribute session-scoped settings to close and abort, known only at teardown.
48
+ * @internal
49
+ */
50
+ protected _getCloseSettings(): Promise<Partial<Core.CloseSettings<'classic' | 'ufg'> & Core.AbortSettings<'classic' | 'ufg'>> | undefined>;
46
51
  private _spec?;
47
52
  private _events;
48
53
  private _handlers;