@applitools/eyes 1.49.4 → 1.50.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,55 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.50.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.49.4...js/eyes@1.50.0) (2026-11-16)
4
+
5
+
6
+ ### Features
7
+
8
+ * pretty-print eyes.run steps in the console and HTML report | AD-17526 ([#4375](https://github.com/Applitools-Dev/sdk/issues/4375)) ([76b07ba](https://github.com/Applitools-Dev/sdk/commit/76b07ba02253eaa409cab75d528ebcc315c612af))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * expose element selectors, populated instruction and failure reasons from eyes.run | AD-16272 AD-16546 AD-16609 ([#4264](https://github.com/Applitools-Dev/sdk/issues/4264)) ([a7720f3](https://github.com/Applitools-Dev/sdk/commit/a7720f321d18f0af48ab295a6142cde08439b074))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * @applitools/task-manager bumped to 1.1.0
19
+ #### Features
20
+
21
+ * dismiss dead rechecks to fuse matchAndEnd in UFG | AD-17470 ([#4404](https://github.com/Applitools-Dev/sdk/issues/4404)) ([e82fb5f](https://github.com/Applitools-Dev/sdk/commit/e82fb5fc9bf232bd58223ed66f9138c07d2c5165))
22
+ * @applitools/core-base bumped to 1.44.0
23
+ #### Features
24
+
25
+ * pretty-print eyes.run steps in the console and HTML report | AD-17526 ([#4375](https://github.com/Applitools-Dev/sdk/issues/4375)) ([76b07ba](https://github.com/Applitools-Dev/sdk/commit/76b07ba02253eaa409cab75d528ebcc315c612af))
26
+ * raise the pdf match page cap to 1000 | AD-18090 ([#4475](https://github.com/Applitools-Dev/sdk/issues/4475)) ([91be5fe](https://github.com/Applitools-Dev/sdk/commit/91be5fef541308cbf94964402948aa5b8d31078e))
27
+ * send a per-checkpoint idempotencyKey on match requests | AD-15258 ([#4473](https://github.com/Applitools-Dev/sdk/issues/4473)) ([b19f1bd](https://github.com/Applitools-Dev/sdk/commit/b19f1bd0282395dfa145e19c2b91aea27588ded6))
28
+
29
+
30
+ #### Bug Fixes
31
+
32
+ * deterministic offline close.json after matchAndEnd | AD-17470 ([#4474](https://github.com/Applitools-Dev/sdk/issues/4474)) ([23d469c](https://github.com/Applitools-Dev/sdk/commit/23d469c37f37bd5f667bf07abc4630308ca02af5))
33
+ * expose element selectors, populated instruction and failure reasons from eyes.run | AD-16272 AD-16546 AD-16609 ([#4264](https://github.com/Applitools-Dev/sdk/issues/4264)) ([a7720f3](https://github.com/Applitools-Dev/sdk/commit/a7720f321d18f0af48ab295a6142cde08439b074))
34
+ * user-facing messages for NLP service failures | AD-16828 ([#4392](https://github.com/Applitools-Dev/sdk/issues/4392)) ([9d24b19](https://github.com/Applitools-Dev/sdk/commit/9d24b19f9a3c667f3af1164fb541b84b076d62c1))
35
+ * @applitools/nml-client bumped to 1.12.15
36
+
37
+ * @applitools/ec-client bumped to 1.12.59
38
+
39
+ * @applitools/core bumped to 4.77.0
40
+ #### Features
41
+
42
+ * dismiss dead rechecks to fuse matchAndEnd in UFG | AD-17470 ([#4404](https://github.com/Applitools-Dev/sdk/issues/4404)) ([e82fb5f](https://github.com/Applitools-Dev/sdk/commit/e82fb5fc9bf232bd58223ed66f9138c07d2c5165))
43
+
44
+
45
+ #### Bug Fixes
46
+
47
+ * deterministic offline close.json after matchAndEnd | AD-17470 ([#4474](https://github.com/Applitools-Dev/sdk/issues/4474)) ([23d469c](https://github.com/Applitools-Dev/sdk/commit/23d469c37f37bd5f667bf07abc4630308ca02af5))
48
+ * expose element selectors, populated instruction and failure reasons from eyes.run | AD-16272 AD-16546 AD-16609 ([#4264](https://github.com/Applitools-Dev/sdk/issues/4264)) ([a7720f3](https://github.com/Applitools-Dev/sdk/commit/a7720f321d18f0af48ab295a6142cde08439b074))
49
+
50
+
51
+
52
+
3
53
  ## [1.49.4](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.49.3...js/eyes@1.49.4) (2026-11-11)
4
54
 
5
55
 
@@ -2,12 +2,21 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EyesNlpError = void 0;
4
4
  const EyesError_1 = require("./EyesError");
5
+ /**
6
+ * A run that reached the engine also carries `results`, one entry per instruction the engine ran (the
7
+ * failing one has `stepSuccessful: false`), `populated`, the instruction as the engine understood it,
8
+ * and the engine's `code` and `meta`.
9
+ */
5
10
  class EyesNlpError extends EyesError_1.EyesError {
6
11
  constructor(testStep, options) {
7
12
  var _a;
8
13
  super((_a = options === null || options === void 0 ? void 0 : options.message) !== null && _a !== void 0 ? _a : `NLP step '${testStep}' failed`, options === null || options === void 0 ? void 0 : options.reason);
9
14
  this.stepSuccessful = false;
10
15
  this.testStep = testStep;
16
+ this.results = options === null || options === void 0 ? void 0 : options.results;
17
+ this.populated = options === null || options === void 0 ? void 0 : options.populated;
18
+ this.code = options === null || options === void 0 ? void 0 : options.code;
19
+ this.meta = options === null || options === void 0 ? void 0 : options.meta;
11
20
  }
12
21
  }
13
22
  exports.EyesNlpError = EyesNlpError;
@@ -515,6 +515,9 @@ class ConfigurationData {
515
515
  if ((nlpOptions === null || nlpOptions === void 0 ? void 0 : nlpOptions.enabled) !== undefined) {
516
516
  utils.guard.isBoolean(nlpOptions.enabled, { name: 'nlpOptions.enabled' });
517
517
  }
518
+ if ((nlpOptions === null || nlpOptions === void 0 ? void 0 : nlpOptions.verbose) !== undefined) {
519
+ utils.guard.isBoolean(nlpOptions.verbose, { name: 'nlpOptions.verbose' });
520
+ }
518
521
  this._config.nlpOptions = nlpOptions;
519
522
  }
520
523
  /** @internal */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.49.4",
3
+ "version": "1.50.0",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -42,7 +42,7 @@
42
42
  "test": "run --top-level mocha './test/**/*.spec.ts'"
43
43
  },
44
44
  "dependencies": {
45
- "@applitools/core": "4.76.0",
45
+ "@applitools/core": "4.77.0",
46
46
  "@applitools/logger": "2.3.4",
47
47
  "@applitools/utils": "1.15.4",
48
48
  "chalk": "4.1.2",
@@ -1,9 +1,16 @@
1
+ import type { NlpPopulatedInstruction, NlpStepErrorOptions, NlpStepResult } from '@applitools/core';
1
2
  import { EyesError } from './EyesError';
3
+ /**
4
+ * A run that reached the engine also carries `results`, one entry per instruction the engine ran (the
5
+ * failing one has `stepSuccessful: false`), `populated`, the instruction as the engine understood it,
6
+ * and the engine's `code` and `meta`.
7
+ */
2
8
  export declare class EyesNlpError extends EyesError {
3
9
  readonly testStep: string;
4
10
  readonly stepSuccessful: false;
5
- constructor(testStep: string, options?: {
6
- message?: string;
7
- reason?: string;
8
- });
11
+ readonly results?: NlpStepResult[];
12
+ readonly populated?: NlpPopulatedInstruction;
13
+ readonly code?: string;
14
+ readonly meta?: Record<string, unknown>;
15
+ constructor(testStep: string, options?: NlpStepErrorOptions);
9
16
  }
@@ -44,6 +44,8 @@ export type NlpOptions = {
44
44
  * global or project level; a test-level value cannot affect it.
45
45
  */
46
46
  enabled?: boolean;
47
+ /** Prints every `eyes.run` call's report to the console; without it only failing calls print. */
48
+ verbose?: boolean;
47
49
  };
48
50
  export type Configuration<TSpec extends Core.SpecType = Core.SpecType> = {
49
51
  accessibilityValidation?: AccessibilitySettings;