@applitools/eyes 1.49.4 → 1.50.1
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,95 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.50.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.50.0...js/eyes@1.50.1) (2026-11-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/dom-snapshot bumped to 4.18.11
|
|
9
|
+
|
|
10
|
+
* @applitools/req bumped to 1.11.9
|
|
11
|
+
|
|
12
|
+
* @applitools/snippets bumped to 2.9.12
|
|
13
|
+
|
|
14
|
+
* @applitools/dom-capture bumped to 11.8.13
|
|
15
|
+
|
|
16
|
+
* @applitools/driver bumped to 1.26.17
|
|
17
|
+
|
|
18
|
+
* @applitools/spec-driver-webdriver bumped to 1.6.17
|
|
19
|
+
|
|
20
|
+
* @applitools/spec-driver-selenium bumped to 1.8.17
|
|
21
|
+
|
|
22
|
+
* @applitools/spec-driver-playwright bumped to 1.9.17
|
|
23
|
+
|
|
24
|
+
* @applitools/spec-driver-puppeteer bumped to 1.8.17
|
|
25
|
+
|
|
26
|
+
* @applitools/screenshoter bumped to 3.12.39
|
|
27
|
+
|
|
28
|
+
* @applitools/nml-client bumped to 1.12.16
|
|
29
|
+
|
|
30
|
+
* @applitools/tunnel-client bumped to 1.12.12
|
|
31
|
+
|
|
32
|
+
* @applitools/ufg-client bumped to 1.27.1
|
|
33
|
+
|
|
34
|
+
* @applitools/core-base bumped to 1.44.1
|
|
35
|
+
|
|
36
|
+
* @applitools/ec-client bumped to 1.12.60
|
|
37
|
+
|
|
38
|
+
* @applitools/core bumped to 4.77.1
|
|
39
|
+
|
|
40
|
+
* @applitools/test-server bumped to 1.4.11
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
## [1.50.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.49.4...js/eyes@1.50.0) (2026-11-16)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* 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))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Bug Fixes
|
|
52
|
+
|
|
53
|
+
* 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))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Dependencies
|
|
57
|
+
|
|
58
|
+
* @applitools/task-manager bumped to 1.1.0
|
|
59
|
+
#### Features
|
|
60
|
+
|
|
61
|
+
* 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))
|
|
62
|
+
* @applitools/core-base bumped to 1.44.0
|
|
63
|
+
#### Features
|
|
64
|
+
|
|
65
|
+
* 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))
|
|
66
|
+
* 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))
|
|
67
|
+
* 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))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
#### Bug Fixes
|
|
71
|
+
|
|
72
|
+
* 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))
|
|
73
|
+
* 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))
|
|
74
|
+
* 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))
|
|
75
|
+
* @applitools/nml-client bumped to 1.12.15
|
|
76
|
+
|
|
77
|
+
* @applitools/ec-client bumped to 1.12.59
|
|
78
|
+
|
|
79
|
+
* @applitools/core bumped to 4.77.0
|
|
80
|
+
#### Features
|
|
81
|
+
|
|
82
|
+
* 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))
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
#### Bug Fixes
|
|
86
|
+
|
|
87
|
+
* 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))
|
|
88
|
+
* 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))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
3
93
|
## [1.49.4](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.49.3...js/eyes@1.49.4) (2026-11-11)
|
|
4
94
|
|
|
5
95
|
|
|
@@ -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.
|
|
3
|
+
"version": "1.50.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"applitools",
|
|
6
6
|
"eyes",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"test": "run --top-level mocha './test/**/*.spec.ts'"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@applitools/core": "4.
|
|
45
|
+
"@applitools/core": "4.77.1",
|
|
46
46
|
"@applitools/logger": "2.3.4",
|
|
47
47
|
"@applitools/utils": "1.15.4",
|
|
48
48
|
"chalk": "4.1.2",
|
|
49
49
|
"yargs": "17.7.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@applitools/req": "^1.11.
|
|
52
|
+
"@applitools/req": "^1.11.9",
|
|
53
53
|
"@types/node": "^12.20.55",
|
|
54
54
|
"nock": "^13.3.0"
|
|
55
55
|
},
|
|
@@ -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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|