@applitools/eyes-storybook 3.50.2 → 3.50.3

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,34 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.50.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.50.2...js/eyes-storybook@3.50.3) (2024-05-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * storybook with yarn pnp ([#2350](https://github.com/Applitools-Dev/sdk/issues/2350)) ([1b67e8f](https://github.com/Applitools-Dev/sdk/commit/1b67e8f5e37ed97aed55f38be1827db71243e38c))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-capture bumped to 11.2.7
14
+ #### Bug Fixes
15
+
16
+ * capture user input from input elements ([#2347](https://github.com/Applitools-Dev/sdk/issues/2347)) ([f82d3bb](https://github.com/Applitools-Dev/sdk/commit/f82d3bbc79c624ab7e8eeade7559b523f6adfeac))
17
+ * @applitools/core-base bumped to 1.14.0
18
+ #### Features
19
+
20
+ * expose git latest commit info in env vars ([#2349](https://github.com/Applitools-Dev/sdk/issues/2349)) ([1db248c](https://github.com/Applitools-Dev/sdk/commit/1db248c83ee1cbc83f905163fe5bd63dd5e293c2))
21
+ * long eyes requests with custom domain ([#2343](https://github.com/Applitools-Dev/sdk/issues/2343)) ([d54beea](https://github.com/Applitools-Dev/sdk/commit/d54beea8c33a56a0516904773daaa5095340fd12))
22
+ * @applitools/ec-client bumped to 1.8.5
23
+
24
+ * @applitools/core bumped to 4.15.0
25
+ #### Features
26
+
27
+ * expose git latest commit info in env vars ([#2349](https://github.com/Applitools-Dev/sdk/issues/2349)) ([1db248c](https://github.com/Applitools-Dev/sdk/commit/1db248c83ee1cbc83f905163fe5bd63dd5e293c2))
28
+
29
+
30
+
31
+
3
32
  ## [3.50.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.50.1...js/eyes-storybook@3.50.2) (2024-05-01)
4
33
 
5
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-storybook",
3
- "version": "3.50.2",
3
+ "version": "3.50.3",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "applitools",
@@ -54,7 +54,7 @@
54
54
  "up:framework": "cd test/fixtures/storybook-versions/${APPLITOOLS_FRAMEWORK_VERSION} && npm ci"
55
55
  },
56
56
  "dependencies": {
57
- "@applitools/core": "4.14.0",
57
+ "@applitools/core": "4.15.0",
58
58
  "@applitools/driver": "1.17.2",
59
59
  "@applitools/functional-commons": "1.6.0",
60
60
  "@applitools/logger": "2.0.16",
@@ -79,7 +79,6 @@
79
79
  "@applitools/snaptdout": "^1.0.1",
80
80
  "@applitools/test-server": "^1.2.2",
81
81
  "@applitools/test-utils": "^1.5.17",
82
- "@babel/eslint-parser": "^7.22.9",
83
82
  "@storybook/addon-interactions": "^6.4.18",
84
83
  "@storybook/react": "^6.4.18",
85
84
  "@storybook/testing-library": "^0.0.9",
@@ -21,13 +21,6 @@ async function validateAndPopulateConfig({config, packagePath = '', logger = mak
21
21
 
22
22
  const packageJsonPath = `${packagePath}/package.json`;
23
23
  const packageJson = fs.existsSync(packageJsonPath) ? require(packageJsonPath) : undefined;
24
- const {storybookPath, sbVersion, sbArg} = await determineStorybookVersion({
25
- packagePath,
26
- isWindows: process.platform.startsWith('win'),
27
- });
28
- logger.log(
29
- `[validateAndPopulateConfig] storybookPath=${storybookPath} sbVersion=${sbVersion} sbArg=${sbArg}`,
30
- );
31
24
 
32
25
  if (!config.appName) {
33
26
  if (!packageJson) {
@@ -48,6 +41,14 @@ async function validateAndPopulateConfig({config, packagePath = '', logger = mak
48
41
  console.log(chalk.red(`couldn't find available port around`, config.storybookPort));
49
42
  }
50
43
 
44
+ const {storybookPath, sbVersion, sbArg} = await determineStorybookVersion({
45
+ packagePath,
46
+ isWindows: process.platform.startsWith('win'),
47
+ });
48
+ logger.log(
49
+ `[validateAndPopulateConfig] storybookPath=${storybookPath} sbVersion=${sbVersion} sbArg=${sbArg}`,
50
+ );
51
+
51
52
  config.storybookUrl = await startStorybookServer(
52
53
  Object.assign({packagePath, logger, storybookPath, sbArg, sbVersion}, config),
53
54
  );