@applitools/eyes-storybook 3.55.5 → 3.55.7

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,194 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.55.7](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.55.6...js/eyes-storybook@3.55.7) (2025-07-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * determine storybook 9 version | AD-10406 ([#3054](https://github.com/Applitools-Dev/sdk/issues/3054)) ([23486bf](https://github.com/Applitools-Dev/sdk/commit/23486bf1c9dc905d243239214e0e838d54c0b3c2))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/utils bumped to 1.9.0
14
+ #### Features
15
+
16
+ * support https_proxy and http_proxy env variables | FLD-2702 ([#3046](https://github.com/Applitools-Dev/sdk/issues/3046)) ([0633809](https://github.com/Applitools-Dev/sdk/commit/06338099f44bfb149a5829f62c2f9b19e2392850))
17
+ * @applitools/logger bumped to 2.1.5
18
+
19
+ * @applitools/dom-snapshot bumped to 4.12.0
20
+ #### Features
21
+
22
+ * canvas webgl without preserveDrawingBuffer=1 | FLD-3144 ([#3040](https://github.com/Applitools-Dev/sdk/issues/3040)) ([f82d8f1](https://github.com/Applitools-Dev/sdk/commit/f82d8f148f913098752ec7bef8635a46b453d6fa))
23
+
24
+
25
+ #### Bug Fixes
26
+
27
+ * support for programmatically added nested css rules | FLD-3212 ([#3049](https://github.com/Applitools-Dev/sdk/issues/3049)) ([5abb0f7](https://github.com/Applitools-Dev/sdk/commit/5abb0f7904c4d9e4b716291abecad54554b9ca01))
28
+
29
+
30
+
31
+ * @applitools/socket bumped to 1.2.6
32
+
33
+ * @applitools/req bumped to 1.7.14
34
+
35
+ * @applitools/image bumped to 1.1.21
36
+
37
+ * @applitools/driver bumped to 1.22.0
38
+ #### Features
39
+
40
+ * canvas webgl without preserveDrawingBuffer=1 | FLD-3144 ([#3040](https://github.com/Applitools-Dev/sdk/issues/3040)) ([f82d8f1](https://github.com/Applitools-Dev/sdk/commit/f82d8f148f913098752ec7bef8635a46b453d6fa))
41
+
42
+
43
+
44
+ * @applitools/spec-driver-webdriver bumped to 1.3.0
45
+ #### Features
46
+
47
+ * canvas webgl without preserveDrawingBuffer=1 | FLD-3144 ([#3040](https://github.com/Applitools-Dev/sdk/issues/3040)) ([f82d8f1](https://github.com/Applitools-Dev/sdk/commit/f82d8f148f913098752ec7bef8635a46b453d6fa))
48
+ * support https_proxy and http_proxy env variables | FLD-2702 ([#3046](https://github.com/Applitools-Dev/sdk/issues/3046)) ([0633809](https://github.com/Applitools-Dev/sdk/commit/06338099f44bfb149a5829f62c2f9b19e2392850))
49
+
50
+
51
+
52
+ * @applitools/spec-driver-selenium bumped to 1.6.0
53
+ #### Features
54
+
55
+ * canvas webgl without preserveDrawingBuffer=1 | FLD-3144 ([#3040](https://github.com/Applitools-Dev/sdk/issues/3040)) ([f82d8f1](https://github.com/Applitools-Dev/sdk/commit/f82d8f148f913098752ec7bef8635a46b453d6fa))
56
+
57
+
58
+
59
+ * @applitools/spec-driver-puppeteer bumped to 1.5.0
60
+ #### Features
61
+
62
+ * canvas webgl without preserveDrawingBuffer=1 | FLD-3144 ([#3040](https://github.com/Applitools-Dev/sdk/issues/3040)) ([f82d8f1](https://github.com/Applitools-Dev/sdk/commit/f82d8f148f913098752ec7bef8635a46b453d6fa))
63
+
64
+
65
+
66
+ * @applitools/screenshoter bumped to 3.11.6
67
+
68
+ * @applitools/nml-client bumped to 1.9.6
69
+ #### Bug Fixes
70
+
71
+ * add retries for ConnectEnomem errors | FLD-3015 ([#3052](https://github.com/Applitools-Dev/sdk/issues/3052)) ([92caa45](https://github.com/Applitools-Dev/sdk/commit/92caa452b4a6d6f86c903548b40f8207a0ed11d0))
72
+
73
+
74
+
75
+ * @applitools/core-base bumped to 1.25.5
76
+ #### Bug Fixes
77
+
78
+ * add retries for ConnectEnomem errors | FLD-3015 ([#3052](https://github.com/Applitools-Dev/sdk/issues/3052)) ([92caa45](https://github.com/Applitools-Dev/sdk/commit/92caa452b4a6d6f86c903548b40f8207a0ed11d0))
79
+
80
+
81
+
82
+ * @applitools/tunnel-client bumped to 1.8.1
83
+
84
+ * @applitools/ufg-client bumped to 1.16.13
85
+
86
+ * @applitools/ec-client bumped to 1.10.16
87
+
88
+ * @applitools/core bumped to 4.41.0
89
+ #### Features
90
+
91
+ * canvas webgl without preserveDrawingBuffer=1 | FLD-3144 ([#3040](https://github.com/Applitools-Dev/sdk/issues/3040)) ([f82d8f1](https://github.com/Applitools-Dev/sdk/commit/f82d8f148f913098752ec7bef8635a46b453d6fa))
92
+ * support https_proxy and http_proxy env variables | FLD-2702 ([#3046](https://github.com/Applitools-Dev/sdk/issues/3046)) ([0633809](https://github.com/Applitools-Dev/sdk/commit/06338099f44bfb149a5829f62c2f9b19e2392850))
93
+
94
+
95
+ #### Bug Fixes
96
+
97
+ * add retries for ConnectEnomem errors | FLD-3015 ([#3052](https://github.com/Applitools-Dev/sdk/issues/3052)) ([92caa45](https://github.com/Applitools-Dev/sdk/commit/92caa452b4a6d6f86c903548b40f8207a0ed11d0))
98
+ * determine storybook 9 version | AD-10406 ([#3054](https://github.com/Applitools-Dev/sdk/issues/3054)) ([23486bf](https://github.com/Applitools-Dev/sdk/commit/23486bf1c9dc905d243239214e0e838d54c0b3c2))
99
+ * support for programmatically added nested css rules | FLD-3212 ([#3049](https://github.com/Applitools-Dev/sdk/issues/3049)) ([5abb0f7](https://github.com/Applitools-Dev/sdk/commit/5abb0f7904c4d9e4b716291abecad54554b9ca01))
100
+
101
+
102
+
103
+
104
+ ## [3.55.6](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.55.5...js/eyes-storybook@3.55.6) (2025-06-15)
105
+
106
+
107
+ ### Bug Fixes
108
+
109
+ * relative links in readme | AD-9703 ([#2960](https://github.com/Applitools-Dev/sdk/issues/2960)) ([672207b](https://github.com/Applitools-Dev/sdk/commit/672207b55e30f1581defeda4f2f743eaf5b1849d))
110
+
111
+
112
+ ### Dependencies
113
+
114
+ * @applitools/dom-snapshot bumped to 4.11.22
115
+ #### Bug Fixes
116
+
117
+ * css media query group conditions | FLD-3151 ([#3023](https://github.com/Applitools-Dev/sdk/issues/3023)) ([56ec107](https://github.com/Applitools-Dev/sdk/commit/56ec107bcda6a5a330d19c278267d73de5d86d8b))
118
+
119
+
120
+
121
+ * @applitools/core-base bumped to 1.25.4
122
+ #### Bug Fixes
123
+
124
+ * Differentiate Between Invalid and Missing API Key Errors ([6ac17d4](https://github.com/Applitools-Dev/sdk/commit/6ac17d40d7aff45b3de5c949dc7d4673b9739bfd))
125
+ * export issues for ts js with legacy solution ([#3016](https://github.com/Applitools-Dev/sdk/issues/3016)) ([a3a9daf](https://github.com/Applitools-Dev/sdk/commit/a3a9daf9c3361bb1f253499c1335a1434ec520d1))
126
+
127
+
128
+
129
+ * @applitools/eyes bumped to 1.35.1
130
+ #### Bug Fixes
131
+
132
+ * remove safari-early-access browser version for js sdks | AD-10226 ([#3034](https://github.com/Applitools-Dev/sdk/issues/3034)) ([7ca09f5](https://github.com/Applitools-Dev/sdk/commit/7ca09f5c0c271570142058ea766533b86434dc2e))
133
+
134
+
135
+
136
+ * @applitools/test-server bumped to 1.2.3
137
+ #### Bug Fixes
138
+
139
+ * basic auth protected resources | FLD-2761 | FMRI-120 ([#2444](https://github.com/Applitools-Dev/sdk/issues/2444)) ([b48cf49](https://github.com/Applitools-Dev/sdk/commit/b48cf49dec50bbf1ed2ba111608a48cf09962565))
140
+ * export issues for ts js with legacy solution ([#3016](https://github.com/Applitools-Dev/sdk/issues/3016)) ([a3a9daf](https://github.com/Applitools-Dev/sdk/commit/a3a9daf9c3361bb1f253499c1335a1434ec520d1))
141
+ * storybook navigation timeouts ([#2701](https://github.com/Applitools-Dev/sdk/issues/2701)) ([64e3a40](https://github.com/Applitools-Dev/sdk/commit/64e3a40a524ae76ec457ae9c2d1170fbaea5e982))
142
+
143
+
144
+
145
+ * @applitools/req bumped to 1.7.13
146
+
147
+ * @applitools/dom-capture bumped to 11.5.6
148
+
149
+ * @applitools/spec-driver-webdriver bumped to 1.2.6
150
+
151
+ * @applitools/screenshoter bumped to 3.11.5
152
+
153
+ * @applitools/nml-client bumped to 1.9.5
154
+ #### Bug Fixes
155
+
156
+ * nml-client depends on core-base ([#2995](https://github.com/Applitools-Dev/sdk/issues/2995)) ([1f7cf69](https://github.com/Applitools-Dev/sdk/commit/1f7cf6930709a40a498dd1f525132648aa593af0))
157
+
158
+
159
+
160
+ * @applitools/tunnel-client bumped to 1.8.0
161
+ #### Features
162
+
163
+ * update build script to include individual zip creation ([#3008](https://github.com/Applitools-Dev/sdk/issues/3008)) ([46a0cfc](https://github.com/Applitools-Dev/sdk/commit/46a0cfcc472ab69384560095d90a7fa58b4b9186))
164
+
165
+
166
+
167
+ * @applitools/ufg-client bumped to 1.16.12
168
+ #### Bug Fixes
169
+
170
+ * remove safari-early-access browser version for js sdks | AD-10226 ([#3034](https://github.com/Applitools-Dev/sdk/issues/3034)) ([7ca09f5](https://github.com/Applitools-Dev/sdk/commit/7ca09f5c0c271570142058ea766533b86434dc2e))
171
+
172
+
173
+
174
+ * @applitools/ec-client bumped to 1.10.15
175
+
176
+ * @applitools/core bumped to 4.40.0
177
+ #### Features
178
+
179
+ * update build script to include individual zip creation ([#3008](https://github.com/Applitools-Dev/sdk/issues/3008)) ([46a0cfc](https://github.com/Applitools-Dev/sdk/commit/46a0cfcc472ab69384560095d90a7fa58b4b9186))
180
+
181
+
182
+ #### Bug Fixes
183
+
184
+ * css media query group conditions | FLD-3151 ([#3023](https://github.com/Applitools-Dev/sdk/issues/3023)) ([56ec107](https://github.com/Applitools-Dev/sdk/commit/56ec107bcda6a5a330d19c278267d73de5d86d8b))
185
+ * export issues for ts js with legacy solution ([#3016](https://github.com/Applitools-Dev/sdk/issues/3016)) ([a3a9daf](https://github.com/Applitools-Dev/sdk/commit/a3a9daf9c3361bb1f253499c1335a1434ec520d1))
186
+ * extractLatestCommitInfo | FLD-3217 ([#3039](https://github.com/Applitools-Dev/sdk/issues/3039)) ([3f72a23](https://github.com/Applitools-Dev/sdk/commit/3f72a230fa0166046ea85ae004cfb544de86e628))
187
+ * handle error when sending started message in tunnel manager server ([#3019](https://github.com/Applitools-Dev/sdk/issues/3019)) ([2cdaad8](https://github.com/Applitools-Dev/sdk/commit/2cdaad896fd679187449b69abe529b006f6255ee))
188
+
189
+
190
+
191
+
3
192
  ## [3.55.5](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.55.4...js/eyes-storybook@3.55.5) (2025-04-29)
4
193
 
5
194
 
package/README.md CHANGED
@@ -10,9 +10,9 @@ Install Eyes-Storybook as a local dev dependency in your tested project:
10
10
  npm install --save-dev @applitools/eyes-storybook
11
11
  ```
12
12
 
13
- ### Entering the Applitools API key {#API}
13
+ ### Entering the Applitools API key
14
14
 
15
- To authenticate via the Applitools server and run tests, you need to set the environment variable `APPLITOOLS_API_KEY` to the API key provided from Applitools Eyes. For details on how to retrieve your API key, see [the Applitools documentation](/getting-started/retrieve-api-key).
15
+ To authenticate via the Applitools server and run tests, you need to set the environment variable `APPLITOOLS_API_KEY` to the API key provided from Applitools Eyes. For details on how to retrieve your API key, see [the Applitools documentation](https://applitools.com/tutorials/getting-started/retrieve-api-key).
16
16
 
17
17
  #### Entering the API Key on Linux or a Mac
18
18
 
@@ -32,6 +32,6 @@ set APPLITOOLS_API_KEY=<API_key>
32
32
 
33
33
  For further information, see:
34
34
 
35
- * [Quickstart](https://applitools.com/tutorials/sdks/storybook-react/quickstart)
35
+ * [Quickstart](https://applitools.com/tutorials/sdks/storybook/quickstart)
36
36
  * [Overview](https://applitools.com/tutorials/sdks/storybook)
37
37
  * [Changelog](https://applitools.com/tutorials/sdks/storybook/changelog)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-storybook",
3
- "version": "3.55.5",
3
+ "version": "3.55.7",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "applitools",
@@ -53,21 +53,21 @@
53
53
  "up:framework": "cd test/fixtures/storybook-versions/${APPLITOOLS_FRAMEWORK_VERSION} && npm ci"
54
54
  },
55
55
  "dependencies": {
56
- "@applitools/core": "4.37.1",
57
- "@applitools/driver": "1.21.2",
58
- "@applitools/eyes": "1.34.1",
56
+ "@applitools/core": "4.41.0",
57
+ "@applitools/driver": "1.22.0",
58
+ "@applitools/eyes": "1.35.1",
59
59
  "@applitools/functional-commons": "1.6.0",
60
- "@applitools/logger": "2.1.2",
60
+ "@applitools/logger": "2.1.5",
61
61
  "@applitools/monitoring-commons": "1.0.19",
62
- "@applitools/spec-driver-puppeteer": "1.4.28",
63
- "@applitools/ufg-client": "1.16.9",
64
- "@applitools/utils": "1.8.0",
62
+ "@applitools/spec-driver-puppeteer": "1.5.0",
63
+ "@applitools/ufg-client": "1.16.13",
64
+ "@applitools/utils": "1.9.0",
65
65
  "boxen": "4.2.0",
66
66
  "chalk": "3.0.0",
67
67
  "detect-port": "1.3.0",
68
68
  "lodash": "4.17.21",
69
69
  "ora": "3.4.0",
70
- "puppeteer": "23.5.1",
70
+ "puppeteer": "24.11.1",
71
71
  "semver": "7.6.2",
72
72
  "strip-ansi": "6.0.0",
73
73
  "throat": "6.0.2",
@@ -76,7 +76,7 @@
76
76
  "devDependencies": {
77
77
  "@applitools/bongo": "^5.10.0",
78
78
  "@applitools/snaptdout": "^1.0.0",
79
- "@applitools/test-server": "^1.2.2",
79
+ "@applitools/test-server": "^1.2.3",
80
80
  "@applitools/test-utils": "^1.5.17",
81
81
  "@storybook/addon-interactions": "^6.4.18",
82
82
  "@storybook/react": "^6.5.16",
@@ -4,6 +4,6 @@ const chalk = require('chalk');
4
4
  module.exports = chalk.yellow(`
5
5
  Important notice: Your Applitools visual tests are currently running with a concurrency value of 5.
6
6
  This means that only up to 5 visual tests can run in parallel, and therefore the execution might be slower.
7
- If your Applitools license supports a higher concurrency level, set the "testConcurrency" parameter as explained here: https://applitools.com/docs/api-ref/sdk-api/storybook/config.
7
+ If your Applitools license supports a higher concurrency level, set the "testConcurrency" parameter as explained here: https://applitools.com/tutorials/sdks/storybook/config#config.
8
8
  Need a higher concurrency in your account? Email us @ sdr@applitools.com with your required concurrency level.
9
9
  `);
@@ -7,25 +7,36 @@ async function determineStorybookVersion({packagePath, isWindows}) {
7
7
  let sbArg, storybookPath;
8
8
 
9
9
  const commandV6 = 'start-storybook' + (isWindows ? '.cmd' : '');
10
- const commandV7 = 'sb' + (isWindows ? '.cmd' : '');
11
- const storybookPathV6 = resolve(packagePath, 'node_modules/.bin', commandV6);
12
- const storybookPathV7 = resolve(packagePath, 'node_modules/.bin', commandV7);
10
+ const commandV7 = 'sb' + (isWindows ? '.cmd' : ''); // works for v8
11
+ const commandV9 = 'storybook' + (isWindows ? '.cmd' : '');
13
12
 
14
- // first we look for the binaries in the local node_modules/.bin folder in case there are multiple versions of storybook installed
15
- if (fs.existsSync(storybookPathV6)) {
16
- storybookPath = storybookPathV6;
17
- } else if (fs.existsSync(storybookPathV7)) {
18
- storybookPath = storybookPathV7;
19
- sbArg = 'dev';
20
- } else {
21
- // the binary is not in the local node_modules/.bin folder, so we need to find it
22
- storybookPath = await findNpmModuleCommandPath(commandV6, packagePath);
23
- if (!storybookPath) {
24
- storybookPath = await findNpmModuleCommandPath(commandV7, packagePath);
25
- sbArg = 'dev';
13
+ // first we look for the binaries in the local node_modules/.bin folder,
14
+ // in case there are multiple versions of storybook installed
15
+ for (const command of [commandV6, commandV7, commandV9]) {
16
+ const storybookPathCommand = resolve(packagePath, 'node_modules/.bin', command);
17
+ if (fs.existsSync(storybookPathCommand)) {
18
+ storybookPath = storybookPathCommand;
19
+ sbArg = command === commandV6 ? '' : 'dev';
20
+ break;
26
21
  }
27
22
  }
28
23
 
24
+ // the binary is not in the local node_modules/.bin folder,
25
+ // so we need to find it, we do a fallback search up the tree
26
+ if (!storybookPath) {
27
+ for (const command of [commandV6, commandV7, commandV9]) {
28
+ storybookPath = await findNpmModuleCommandPath(command, packagePath);
29
+ if (storybookPath) {
30
+ sbArg = command === commandV6 ? '' : 'dev';
31
+ break;
32
+ }
33
+ }
34
+ }
35
+
36
+ if (!storybookPath) {
37
+ throw new Error('Unable to determine storybook version, storybook path not found');
38
+ }
39
+
29
40
  const sbVersion = execSync(`"${storybookPath}" ${sbArg ?? ''} --version`).toString();
30
41
  return {storybookPath, sbVersion, sbArg};
31
42
  }