@applitools/eyes-storybook 3.42.0 → 3.43.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 CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.43.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-storybook-v3.42.2...js/eyes-storybook@3.43.0) (2023-09-28)
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
+ * rework log event on opent eyes ([#1842](https://github.com/applitools/eyes.sdk.javascript1/issues/1842)) ([532756b](https://github.com/applitools/eyes.sdk.javascript1/commit/532756b75c1023967c3781316148c890dbcfaac8))
10
+ * show aborted tests in Eyes dashboard ([#1877](https://github.com/applitools/eyes.sdk.javascript1/issues/1877)) ([f9840d4](https://github.com/applitools/eyes.sdk.javascript1/commit/f9840d494222ccc6c6f262896771e28da2565bc6))
11
+ * update puppeteer version and minimum node version ([#1889](https://github.com/applitools/eyes.sdk.javascript1/issues/1889)) ([d449030](https://github.com/applitools/eyes.sdk.javascript1/commit/d449030bed6bf4f4c3e7a0dcb6f3ec78f7623e4c))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * update timeout when rendering stories with variants and legacy ([00b8499](https://github.com/applitools/eyes.sdk.javascript1/commit/00b8499716827518fe24abe5031ef950f0254119))
17
+
18
+
19
+ ### Dependencies
20
+
21
+ * @applitools/core-base bumped to 1.7.0
22
+ #### Features
23
+
24
+ * add support for passing a DOM mapping file to deobfuscate RCA ([8c99f8d](https://github.com/applitools/eyes.sdk.javascript1/commit/8c99f8da53ded229306fe2f3da89cb3b5691e2c0))
25
+ * @applitools/ec-client bumped to 1.7.11
26
+
27
+ * @applitools/core bumped to 3.11.4
28
+
29
+
30
+ ## [3.42.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-storybook@3.42.0...js/eyes-storybook@3.42.1) (2023-09-26)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * update timeout when rendering stories with variants and legacy ([00b8499](https://github.com/applitools/eyes.sdk.javascript1/commit/00b8499716827518fe24abe5031ef950f0254119))
36
+
3
37
  ## [3.42.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-storybook-v3.41.3...js/eyes-storybook@3.42.0) (2023-09-25)
4
38
 
5
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-storybook",
3
- "version": "3.42.0",
3
+ "version": "3.43.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "applitools",
@@ -53,13 +53,13 @@
53
53
  "postinstall": "node src/postinstall"
54
54
  },
55
55
  "dependencies": {
56
- "@applitools/core": "3.11.2",
56
+ "@applitools/core": "3.11.4",
57
57
  "@applitools/driver": "1.14.2",
58
58
  "@applitools/functional-commons": "1.6.0",
59
59
  "@applitools/logger": "2.0.11",
60
60
  "@applitools/monitoring-commons": "1.0.19",
61
61
  "@applitools/spec-driver-puppeteer": "1.2.2",
62
- "@applitools/ufg-client": "1.9.2",
62
+ "@applitools/ufg-client": "1.9.3",
63
63
  "@applitools/utils": "1.6.1",
64
64
  "boxen": "4.2.0",
65
65
  "chalk": "3.0.0",
@@ -77,6 +77,7 @@
77
77
  "@applitools/sdk-shared": "0.9.15",
78
78
  "@applitools/snaptdout": "^1.0.1",
79
79
  "@applitools/test-server": "^1.2.2",
80
+ "@applitools/test-utils": "^1.5.17",
80
81
  "@babel/eslint-parser": "^7.22.9",
81
82
  "@storybook/addon-interactions": "^6.4.18",
82
83
  "@storybook/react": "^6.4.18",
@@ -87,7 +87,7 @@ function makeGetStoryData({logger, takeDomSnapshots, reloadPagePerStory}) {
87
87
 
88
88
  async function renderStoryLegacy() {
89
89
  logger.log(`getting data from story ${storyUrl}`);
90
- const [err] = await presult(page.goto(storyUrl, {timeout: 10000}));
90
+ const [err] = await presult(page.goto(storyUrl, {timeout: PAGE_EVALUATE_TIMEOUT}));
91
91
  if (err) {
92
92
  logger.log(`error navigating to story ${storyUrl}`, err);
93
93
  throw err;
@@ -52,6 +52,7 @@ function makeRenderStory({
52
52
  ignoreCaret,
53
53
  matchLevel,
54
54
  ignoreBaseline,
55
+ domMapping,
55
56
  } = config;
56
57
 
57
58
  if (sizeMode) {
@@ -122,6 +123,7 @@ function makeRenderStory({
122
123
  : undefined,
123
124
  }
124
125
  : undefined,
126
+ domMapping,
125
127
  };
126
128
 
127
129
  return timeItAsync(baselineName, async () => {