@applitools/eyes 1.49.3 → 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,136 @@
|
|
|
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
|
+
|
|
53
|
+
## [1.49.4](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.49.3...js/eyes@1.49.4) (2026-11-11)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Dependencies
|
|
57
|
+
|
|
58
|
+
* @applitools/req bumped to 1.11.8
|
|
59
|
+
#### Bug Fixes
|
|
60
|
+
|
|
61
|
+
* give each request its own retry budget and bound Retry-After ([#4418](https://github.com/Applitools-Dev/sdk/issues/4418)) ([9acdcfb](https://github.com/Applitools-Dev/sdk/commit/9acdcfb921729e796a49f5a1129911fa4eb19fce))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
* @applitools/core-base bumped to 1.43.0
|
|
66
|
+
#### Features
|
|
67
|
+
|
|
68
|
+
* log DOM size and upload time | AD-17825 ([#4432](https://github.com/Applitools-Dev/sdk/issues/4432)) ([8b5c224](https://github.com/Applitools-Dev/sdk/commit/8b5c22492f3783c7ce26769bf084bfe794e770e9))
|
|
69
|
+
* pdf conversion client and visual match | AD-15596 ([#4132](https://github.com/Applitools-Dev/sdk/issues/4132)) ([d05f600](https://github.com/Applitools-Dev/sdk/commit/d05f60051145f1d447296caa35d56996e25cdbd1))
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
#### Bug Fixes
|
|
73
|
+
|
|
74
|
+
* send the serviceUrlNew check and its log events through the configured proxy | FLD-5197 ([#4453](https://github.com/Applitools-Dev/sdk/issues/4453)) ([fe2bb46](https://github.com/Applitools-Dev/sdk/commit/fe2bb462e644c62b685fb35e60c06f978eacc439))
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
#### Code Refactoring
|
|
78
|
+
|
|
79
|
+
* spread the optional httpVersion with && in requests ([#4462](https://github.com/Applitools-Dev/sdk/issues/4462)) ([c3a144e](https://github.com/Applitools-Dev/sdk/commit/c3a144e97f48968c23b781b7e11ebb3ec8b3b7ab))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
* @applitools/utils bumped to 1.15.4
|
|
84
|
+
|
|
85
|
+
* @applitools/logger bumped to 2.3.4
|
|
86
|
+
|
|
87
|
+
* @applitools/dom-snapshot bumped to 4.18.10
|
|
88
|
+
|
|
89
|
+
* @applitools/socket bumped to 1.3.20
|
|
90
|
+
|
|
91
|
+
* @applitools/task-manager bumped to 1.0.1
|
|
92
|
+
|
|
93
|
+
* @applitools/image bumped to 1.3.6
|
|
94
|
+
|
|
95
|
+
* @applitools/snippets bumped to 2.9.11
|
|
96
|
+
|
|
97
|
+
* @applitools/dom-capture bumped to 11.8.12
|
|
98
|
+
|
|
99
|
+
* @applitools/driver bumped to 1.26.16
|
|
100
|
+
|
|
101
|
+
* @applitools/spec-driver-webdriver bumped to 1.6.16
|
|
102
|
+
|
|
103
|
+
* @applitools/spec-driver-selenium bumped to 1.8.16
|
|
104
|
+
|
|
105
|
+
* @applitools/spec-driver-playwright bumped to 1.9.16
|
|
106
|
+
|
|
107
|
+
* @applitools/spec-driver-puppeteer bumped to 1.8.16
|
|
108
|
+
|
|
109
|
+
* @applitools/screenshoter bumped to 3.12.38
|
|
110
|
+
|
|
111
|
+
* @applitools/nml-client bumped to 1.12.14
|
|
112
|
+
|
|
113
|
+
* @applitools/tunnel-client bumped to 1.12.11
|
|
114
|
+
|
|
115
|
+
* @applitools/ufg-client bumped to 1.27.0
|
|
116
|
+
#### Features
|
|
117
|
+
|
|
118
|
+
* pdf conversion client and visual match | AD-15596 ([#4132](https://github.com/Applitools-Dev/sdk/issues/4132)) ([d05f600](https://github.com/Applitools-Dev/sdk/commit/d05f60051145f1d447296caa35d56996e25cdbd1))
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
* @applitools/ec-client bumped to 1.12.58
|
|
123
|
+
|
|
124
|
+
* @applitools/core bumped to 4.76.0
|
|
125
|
+
#### Features
|
|
126
|
+
|
|
127
|
+
* pdf conversion client and visual match | AD-15596 ([#4132](https://github.com/Applitools-Dev/sdk/issues/4132)) ([d05f600](https://github.com/Applitools-Dev/sdk/commit/d05f60051145f1d447296caa35d56996e25cdbd1))
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
* @applitools/test-server bumped to 1.4.10
|
|
132
|
+
|
|
133
|
+
|
|
3
134
|
## [1.49.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.49.2...js/eyes@1.49.3) (2026-11-05)
|
|
4
135
|
|
|
5
136
|
|
|
@@ -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.0",
|
|
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.
|
|
46
|
-
"@applitools/logger": "2.3.
|
|
47
|
-
"@applitools/utils": "1.15.
|
|
45
|
+
"@applitools/core": "4.77.0",
|
|
46
|
+
"@applitools/logger": "2.3.4",
|
|
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.8",
|
|
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;
|