@applitools/core 4.48.0 → 4.49.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 +28 -0
- package/dist/index.js +3 -1
- package/dist/open-eyes.js +8 -8
- package/package.json +5 -5
- package/types/index.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.49.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.48.0...js/core@4.49.0) (2025-10-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* storybook addon ([#3104](https://github.com/Applitools-Dev/sdk/issues/3104)) ([16e09cb](https://github.com/Applitools-Dev/sdk/commit/16e09cba8928c3a24b9e0d9d41e0936fbaec2773))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* duplicate concurrency warnings ([#3255](https://github.com/Applitools-Dev/sdk/issues/3255)) ([ef2f94a](https://github.com/Applitools-Dev/sdk/commit/ef2f94ab4137c78396583f166344285beeb49be7))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Dependencies
|
|
17
|
+
|
|
18
|
+
* @applitools/screenshoter bumped to 3.12.6
|
|
19
|
+
#### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* wait after scroll | FLD-3594 ([#3252](https://github.com/Applitools-Dev/sdk/issues/3252)) ([e452422](https://github.com/Applitools-Dev/sdk/commit/e4524229b64e40d9b9596a92bfa94daf5824286a))
|
|
22
|
+
* @applitools/nml-client bumped to 1.11.7
|
|
23
|
+
|
|
24
|
+
* @applitools/core-base bumped to 1.28.1
|
|
25
|
+
#### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* unexpected concurrency values from server | AD-11465 ([#3248](https://github.com/Applitools-Dev/sdk/issues/3248)) ([0dd28c7](https://github.com/Applitools-Dev/sdk/commit/0dd28c7b297d5ad3aabc6b87e427e3e09a993825))
|
|
28
|
+
* @applitools/ec-client bumped to 1.12.9
|
|
29
|
+
|
|
30
|
+
|
|
3
31
|
## [4.48.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.47.1...js/core@4.48.0) (2025-09-22)
|
|
4
32
|
|
|
5
33
|
|
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.logs = exports.formatters = void 0;
|
|
29
|
+
exports.MissingApiKeyError = exports.logs = exports.formatters = void 0;
|
|
30
30
|
__exportStar(require("./types"), exports);
|
|
31
31
|
__exportStar(require("./core"), exports);
|
|
32
32
|
__exportStar(require("./universal/core-server"), exports);
|
|
@@ -35,3 +35,5 @@ __exportStar(require("./autonomous/core"), exports);
|
|
|
35
35
|
__exportStar(require("@applitools/driver/dist/debug"), exports);
|
|
36
36
|
exports.formatters = __importStar(require("./utils/format-results"));
|
|
37
37
|
exports.logs = __importStar(require("./troubleshoot/logs"));
|
|
38
|
+
var core_base_1 = require("@applitools/core-base");
|
|
39
|
+
Object.defineProperty(exports, "MissingApiKeyError", { enumerable: true, get: function () { return core_base_1.MissingApiKeyError; } });
|
package/dist/open-eyes.js
CHANGED
|
@@ -39,6 +39,7 @@ const core_base_1 = require("@applitools/core-base");
|
|
|
39
39
|
const extract_git_info_1 = require("./utils/extract-git-info");
|
|
40
40
|
const types_1 = require("./types");
|
|
41
41
|
function makeOpenEyes({ type: defaultType = 'classic', clients, batch, removeDuplicateTests, core, cores, spec, environment, logger: mainLogger, asyncCache, concurrency, useServerConcurrency = false, cwd = process.cwd(), }) {
|
|
42
|
+
let shouldPrintConcurrencyWarning = true;
|
|
42
43
|
return async function openEyes({ type = defaultType, settings: openSettings, config, target, logger = mainLogger, }) {
|
|
43
44
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
44
45
|
var _1, _2, _3, _4, _5;
|
|
@@ -108,23 +109,22 @@ function makeOpenEyes({ type: defaultType = 'classic', clients, batch, removeDup
|
|
|
108
109
|
// remember when implementing: other SDKs use session concurrency, not component concurrency like storybook
|
|
109
110
|
if (useServerConcurrency) {
|
|
110
111
|
if (concurrency && concurrency < componentConcurrency) {
|
|
111
|
-
|
|
112
|
+
if (shouldPrintConcurrencyWarning) {
|
|
113
|
+
// TODO make this warning more generic
|
|
114
|
+
logger.console.warn(`Eyes Storybook "testConcurrency" explicitly set to ${concurrency}, which is lower than your available limit of ${componentConcurrency}. Using the lower value as requested.`);
|
|
115
|
+
}
|
|
112
116
|
settings.sessionConcurrency = concurrency;
|
|
113
117
|
}
|
|
114
118
|
else {
|
|
115
119
|
settings.sessionConcurrency = componentConcurrency;
|
|
116
|
-
if (concurrency) {
|
|
120
|
+
if (concurrency && shouldPrintConcurrencyWarning) {
|
|
117
121
|
logger.console.warn(`Overriding user-defined "testConcurrency". Using organization concurrency limit from Eyes server: ${settings.sessionConcurrency}`);
|
|
118
122
|
}
|
|
119
123
|
}
|
|
124
|
+
shouldPrintConcurrencyWarning = false;
|
|
120
125
|
}
|
|
121
126
|
else {
|
|
122
|
-
|
|
123
|
-
settings.sessionConcurrency = concurrency;
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
settings.sessionConcurrency = types_1.DEFAULT_CONCURRENCY;
|
|
127
|
-
}
|
|
127
|
+
settings.sessionConcurrency = concurrency !== null && concurrency !== void 0 ? concurrency : types_1.DEFAULT_CONCURRENCY;
|
|
128
128
|
}
|
|
129
129
|
void core.logEvent({
|
|
130
130
|
settings: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.49.0",
|
|
4
4
|
"homepage": "https://applitools.com",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
|
|
@@ -79,15 +79,15 @@
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@applitools/core-base": "1.28.
|
|
82
|
+
"@applitools/core-base": "1.28.1",
|
|
83
83
|
"@applitools/dom-capture": "11.6.5",
|
|
84
84
|
"@applitools/dom-snapshot": "4.13.7",
|
|
85
85
|
"@applitools/driver": "1.23.5",
|
|
86
|
-
"@applitools/ec-client": "1.12.
|
|
86
|
+
"@applitools/ec-client": "1.12.9",
|
|
87
87
|
"@applitools/logger": "2.2.4",
|
|
88
|
-
"@applitools/nml-client": "1.11.
|
|
88
|
+
"@applitools/nml-client": "1.11.7",
|
|
89
89
|
"@applitools/req": "1.8.4",
|
|
90
|
-
"@applitools/screenshoter": "3.12.
|
|
90
|
+
"@applitools/screenshoter": "3.12.6",
|
|
91
91
|
"@applitools/snippets": "2.7.0",
|
|
92
92
|
"@applitools/socket": "1.3.5",
|
|
93
93
|
"@applitools/spec-driver-webdriver": "1.4.5",
|
package/types/index.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export { type SpecType, type SpecDriver, type Selector } from '@applitools/drive
|
|
|
7
7
|
export * from '@applitools/driver/dist/debug';
|
|
8
8
|
export * as formatters from './utils/format-results';
|
|
9
9
|
export * as logs from './troubleshoot/logs';
|
|
10
|
+
export { MissingApiKeyError } from '@applitools/core-base';
|