@applitools/eyes-storybook 3.45.7 → 3.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 +130 -0
- package/package.json +6 -7
- package/src/generateConfig.js +2 -2
- package/src/processResults.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,135 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.47.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-storybook-v3.46.1...js/eyes-storybook@3.47.0) (2024-02-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add support for passing a DOM mapping file to deobfuscate RCA ([8c99f8d](https://github.com/applitools/eyes.sdk.javascript1/commit/8c99f8da53ded229306fe2f3da89cb3b5691e2c0))
|
|
9
|
+
* added notification about outdated sdk version ([#2012](https://github.com/applitools/eyes.sdk.javascript1/issues/2012)) ([0f0a646](https://github.com/applitools/eyes.sdk.javascript1/commit/0f0a6462a56e7c97f9a22173c3b63af91e220adb))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* add .cmd for storybook binary for windows for local binaries ([#1964](https://github.com/applitools/eyes.sdk.javascript1/issues/1964)) ([b6ee7d9](https://github.com/applitools/eyes.sdk.javascript1/commit/b6ee7d90d13a85f4ccc999cdcbaedb868d94b307))
|
|
15
|
+
* bump ([756e2d6](https://github.com/applitools/eyes.sdk.javascript1/commit/756e2d6899b58dfa69001d70133230447b4794d3))
|
|
16
|
+
* docs for eyes setup and concurrency message output ([#1953](https://github.com/applitools/eyes.sdk.javascript1/issues/1953)) ([13704da](https://github.com/applitools/eyes.sdk.javascript1/commit/13704dac39fa899c5e8bdb268539cd46aee5ccfb))
|
|
17
|
+
* lodash.pick vulnerability ([#2169](https://github.com/applitools/eyes.sdk.javascript1/issues/2169)) ([7354088](https://github.com/applitools/eyes.sdk.javascript1/commit/735408874e4917f5e9b086e1796f84101fd1f304))
|
|
18
|
+
* update timeout when rendering stories with variants and legacy ([00b8499](https://github.com/applitools/eyes.sdk.javascript1/commit/00b8499716827518fe24abe5031ef950f0254119))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Code Refactoring
|
|
22
|
+
|
|
23
|
+
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
|
|
24
|
+
* fix safe selector generation ([#2072](https://github.com/applitools/eyes.sdk.javascript1/issues/2072)) ([373f11b](https://github.com/applitools/eyes.sdk.javascript1/commit/373f11b0dfea6eab417eb7077e0cfec79877dc1b))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
* @applitools/req bumped to 1.6.5
|
|
30
|
+
#### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* fixed url concatenation logic ([#2197](https://github.com/applitools/eyes.sdk.javascript1/issues/2197)) ([c3b2e0a](https://github.com/applitools/eyes.sdk.javascript1/commit/c3b2e0ad47f002978544eaac759a80f18f7c5ee3))
|
|
33
|
+
* @applitools/dom-shared bumped to 1.0.13
|
|
34
|
+
#### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* dont execute script synchronously in polling ([#2228](https://github.com/applitools/eyes.sdk.javascript1/issues/2228)) ([04f525b](https://github.com/applitools/eyes.sdk.javascript1/commit/04f525bcac19bc2fb7240928add28f71efcef0ea))
|
|
37
|
+
* @applitools/core-base bumped to 1.9.1
|
|
38
|
+
#### Bug Fixes
|
|
39
|
+
|
|
40
|
+
* fixed url concatenation logic ([#2197](https://github.com/applitools/eyes.sdk.javascript1/issues/2197)) ([c3b2e0a](https://github.com/applitools/eyes.sdk.javascript1/commit/c3b2e0ad47f002978544eaac759a80f18f7c5ee3))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
* @applitools/dom-capture bumped to 11.2.6
|
|
45
|
+
|
|
46
|
+
* @applitools/dom-snapshot bumped to 4.8.1
|
|
47
|
+
|
|
48
|
+
* @applitools/nml-client bumped to 1.7.2
|
|
49
|
+
|
|
50
|
+
* @applitools/tunnel-client bumped to 1.4.1
|
|
51
|
+
#### Bug Fixes
|
|
52
|
+
|
|
53
|
+
* upgrade execution-grid-tunnel to avoid port collision ([751e4e2](https://github.com/applitools/eyes.sdk.javascript1/commit/751e4e2441eb85604bbece0a9dbe18fa16b23847))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
* @applitools/ufg-client bumped to 1.9.10
|
|
58
|
+
|
|
59
|
+
* @applitools/ec-client bumped to 1.7.27
|
|
60
|
+
|
|
61
|
+
* @applitools/core bumped to 4.9.1
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
## [3.46.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-storybook-v3.45.8...js/eyes-storybook@3.46.0) (2024-02-13)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Features
|
|
68
|
+
|
|
69
|
+
* add support for passing a DOM mapping file to deobfuscate RCA ([8c99f8d](https://github.com/applitools/eyes.sdk.javascript1/commit/8c99f8da53ded229306fe2f3da89cb3b5691e2c0))
|
|
70
|
+
* added notification about outdated sdk version ([#2012](https://github.com/applitools/eyes.sdk.javascript1/issues/2012)) ([0f0a646](https://github.com/applitools/eyes.sdk.javascript1/commit/0f0a6462a56e7c97f9a22173c3b63af91e220adb))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Bug Fixes
|
|
74
|
+
|
|
75
|
+
* add .cmd for storybook binary for windows for local binaries ([#1964](https://github.com/applitools/eyes.sdk.javascript1/issues/1964)) ([b6ee7d9](https://github.com/applitools/eyes.sdk.javascript1/commit/b6ee7d90d13a85f4ccc999cdcbaedb868d94b307))
|
|
76
|
+
* bump ([756e2d6](https://github.com/applitools/eyes.sdk.javascript1/commit/756e2d6899b58dfa69001d70133230447b4794d3))
|
|
77
|
+
* docs for eyes setup and concurrency message output ([#1953](https://github.com/applitools/eyes.sdk.javascript1/issues/1953)) ([13704da](https://github.com/applitools/eyes.sdk.javascript1/commit/13704dac39fa899c5e8bdb268539cd46aee5ccfb))
|
|
78
|
+
* lodash.pick vulnerability ([#2169](https://github.com/applitools/eyes.sdk.javascript1/issues/2169)) ([7354088](https://github.com/applitools/eyes.sdk.javascript1/commit/735408874e4917f5e9b086e1796f84101fd1f304))
|
|
79
|
+
* update timeout when rendering stories with variants and legacy ([00b8499](https://github.com/applitools/eyes.sdk.javascript1/commit/00b8499716827518fe24abe5031ef950f0254119))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Code Refactoring
|
|
83
|
+
|
|
84
|
+
* disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
|
|
85
|
+
* fix safe selector generation ([#2072](https://github.com/applitools/eyes.sdk.javascript1/issues/2072)) ([373f11b](https://github.com/applitools/eyes.sdk.javascript1/commit/373f11b0dfea6eab417eb7077e0cfec79877dc1b))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Dependencies
|
|
89
|
+
|
|
90
|
+
* @applitools/dom-snapshot bumped to 4.7.17
|
|
91
|
+
#### Bug Fixes
|
|
92
|
+
|
|
93
|
+
* throw error for encoding none unicode char ([#2171](https://github.com/applitools/eyes.sdk.javascript1/issues/2171)) ([4edb9cf](https://github.com/applitools/eyes.sdk.javascript1/commit/4edb9cfb27d8db2ff4cb09c8ebf1b95ab020633d))
|
|
94
|
+
* @applitools/spec-driver-webdriver bumped to 1.0.57
|
|
95
|
+
#### Bug Fixes
|
|
96
|
+
|
|
97
|
+
* fixed issue with cdp commands on chromium browsers ([#2180](https://github.com/applitools/eyes.sdk.javascript1/issues/2180)) ([550fc77](https://github.com/applitools/eyes.sdk.javascript1/commit/550fc772d3988aae29e6f4a1a11d2a408072dc38))
|
|
98
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.0
|
|
99
|
+
#### Features
|
|
100
|
+
|
|
101
|
+
* added support for puppeteer >= 22 ([#2185](https://github.com/applitools/eyes.sdk.javascript1/issues/2185)) ([59d23a9](https://github.com/applitools/eyes.sdk.javascript1/commit/59d23a9689d77c7db06df53b67fa293a3b3f166e))
|
|
102
|
+
* @applitools/nml-client bumped to 1.7.0
|
|
103
|
+
#### Features
|
|
104
|
+
|
|
105
|
+
* add support for regions and calculated regions ([#2161](https://github.com/applitools/eyes.sdk.javascript1/issues/2161)) ([fea4b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/fea4b1fca3d8f59eada2b5186cd32d47352ccf1a))
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
#### Bug Fixes
|
|
109
|
+
|
|
110
|
+
* missing viewport when using system screenshot and multi viewport ([#2173](https://github.com/applitools/eyes.sdk.javascript1/issues/2173)) ([411283c](https://github.com/applitools/eyes.sdk.javascript1/commit/411283c7bebc09f178d73b6b47e81e5ce4244d5e))
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
* @applitools/screenshoter bumped to 3.8.23
|
|
115
|
+
|
|
116
|
+
* @applitools/ec-client bumped to 1.7.25
|
|
117
|
+
|
|
118
|
+
* @applitools/core bumped to 4.8.0
|
|
119
|
+
#### Features
|
|
120
|
+
|
|
121
|
+
* add support for regions and calculated regions ([#2161](https://github.com/applitools/eyes.sdk.javascript1/issues/2161)) ([fea4b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/fea4b1fca3d8f59eada2b5186cd32d47352ccf1a))
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
#### Bug Fixes
|
|
125
|
+
|
|
126
|
+
* missing viewport when using system screenshot and multi viewport ([#2173](https://github.com/applitools/eyes.sdk.javascript1/issues/2173)) ([411283c](https://github.com/applitools/eyes.sdk.javascript1/commit/411283c7bebc09f178d73b6b47e81e5ce4244d5e))
|
|
127
|
+
* nml coded region integration with universal ([6fb0934](https://github.com/applitools/eyes.sdk.javascript1/commit/6fb09348238dfe4698856f88e762a9abf80c686f))
|
|
128
|
+
* throw error for encoding none unicode char ([#2171](https://github.com/applitools/eyes.sdk.javascript1/issues/2171)) ([4edb9cf](https://github.com/applitools/eyes.sdk.javascript1/commit/4edb9cfb27d8db2ff4cb09c8ebf1b95ab020633d))
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
3
133
|
## [3.45.7](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-storybook@3.45.6...js/eyes-storybook@3.45.7) (2024-01-30)
|
|
4
134
|
|
|
5
135
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-storybook",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.47.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"applitools",
|
|
@@ -55,19 +55,18 @@
|
|
|
55
55
|
"up:framework": "yarn add --dev --caret @storybook/react${APPLITOOLS_FRAMEWORK_VERSION:+@$APPLITOOLS_FRAMEWORK_VERSION}"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@applitools/core": "4.
|
|
58
|
+
"@applitools/core": "4.9.1",
|
|
59
59
|
"@applitools/driver": "1.16.2",
|
|
60
60
|
"@applitools/functional-commons": "1.6.0",
|
|
61
61
|
"@applitools/logger": "2.0.14",
|
|
62
62
|
"@applitools/monitoring-commons": "1.0.19",
|
|
63
|
-
"@applitools/spec-driver-puppeteer": "1.
|
|
64
|
-
"@applitools/ufg-client": "1.9.
|
|
63
|
+
"@applitools/spec-driver-puppeteer": "1.4.0",
|
|
64
|
+
"@applitools/ufg-client": "1.9.10",
|
|
65
65
|
"@applitools/utils": "1.7.0",
|
|
66
66
|
"boxen": "4.2.0",
|
|
67
67
|
"chalk": "3.0.0",
|
|
68
68
|
"detect-port": "1.3.0",
|
|
69
|
-
"lodash
|
|
70
|
-
"lodash.pick": "4.4.0",
|
|
69
|
+
"lodash": "4.17.21",
|
|
71
70
|
"ora": "3.4.0",
|
|
72
71
|
"puppeteer": "20.9.0",
|
|
73
72
|
"strip-ansi": "6.0.0",
|
|
@@ -75,7 +74,7 @@
|
|
|
75
74
|
"yargs": "17.7.2"
|
|
76
75
|
},
|
|
77
76
|
"devDependencies": {
|
|
78
|
-
"@applitools/bongo": "^5.
|
|
77
|
+
"@applitools/bongo": "^5.10.0",
|
|
79
78
|
"@applitools/sdk-shared": "0.9.15",
|
|
80
79
|
"@applitools/snaptdout": "^1.0.1",
|
|
81
80
|
"@applitools/test-server": "^1.2.2",
|
package/src/generateConfig.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
const
|
|
2
|
+
const lodash = require('lodash');
|
|
3
3
|
const utils = require('@applitools/utils');
|
|
4
4
|
const {resolve} = require('path');
|
|
5
5
|
const {deprecationWarning} = require('./errMessages');
|
|
@@ -11,7 +11,7 @@ function generateConfig({argv = {}, defaultConfig = {}, externalConfigParams = [
|
|
|
11
11
|
const configPaths = argv.conf ? [resolve(process.cwd(), argv.conf)] : undefined;
|
|
12
12
|
const configParams = uniq(defaultConfigParams.concat(externalConfigParams));
|
|
13
13
|
const config = utils.config.getConfig({paths: configPaths, params: configParams});
|
|
14
|
-
const argvConfig = pick(argv, configParams);
|
|
14
|
+
const argvConfig = lodash.pick(argv, configParams);
|
|
15
15
|
const result = Object.assign({}, defaultConfig, config, argvConfig);
|
|
16
16
|
|
|
17
17
|
// backward compatibility
|
package/src/processResults.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
const
|
|
2
|
+
const lodash = require('lodash');
|
|
3
3
|
const chalk = require('chalk');
|
|
4
4
|
const utils = require('@applitools/utils');
|
|
5
5
|
const uniq = require('./uniq');
|
|
@@ -14,7 +14,7 @@ function processResults({
|
|
|
14
14
|
}) {
|
|
15
15
|
let outputStr = '\n';
|
|
16
16
|
const pluralize = utils.general.pluralize;
|
|
17
|
-
const flattenedTestResults = flatten(results.summary.results);
|
|
17
|
+
const flattenedTestResults = lodash.flatten(results.summary.results);
|
|
18
18
|
const testResults = flattenedTestResults.filter(r => r && r.result);
|
|
19
19
|
const testResultsWithErrors = flattenedTestResults.filter(r => r && r.error);
|
|
20
20
|
const unresolved = testResults.filter(r => r.result.isDifferent && !r.result.isAborted);
|