@applitools/eyes-storybook 3.55.6 → 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,106 @@
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
+
3
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)
4
105
 
5
106
 
package/README.md CHANGED
@@ -10,7 +10,7 @@ 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
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-storybook",
3
- "version": "3.55.6",
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.40.0",
57
- "@applitools/driver": "1.21.4",
56
+ "@applitools/core": "4.41.0",
57
+ "@applitools/driver": "1.22.0",
58
58
  "@applitools/eyes": "1.35.1",
59
59
  "@applitools/functional-commons": "1.6.0",
60
- "@applitools/logger": "2.1.4",
60
+ "@applitools/logger": "2.1.5",
61
61
  "@applitools/monitoring-commons": "1.0.19",
62
- "@applitools/spec-driver-puppeteer": "1.4.30",
63
- "@applitools/ufg-client": "1.16.12",
64
- "@applitools/utils": "1.8.2",
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",
@@ -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
  }