@applitools/eyes-storybook 3.47.0 → 3.47.4

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,125 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.47.4](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.47.3...js/eyes-storybook@3.47.4) (2024-03-18)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * storybook upgrade puppeteer ([#2260](https://github.com/Applitools-Dev/sdk/issues/2260)) ([cb419a5](https://github.com/Applitools-Dev/sdk/commit/cb419a541cdfefaf7ab01727647ee40a002cb78a))
9
+
10
+ ## [3.47.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.47.2...js/eyes-storybook@3.47.3) (2024-03-18)
11
+
12
+
13
+ ### Dependencies
14
+
15
+ * @applitools/css-tree bumped to 1.1.2
16
+ #### Bug Fixes
17
+
18
+ * trigger js release again ([1695f3d](https://github.com/Applitools-Dev/sdk/commit/1695f3d9967c7ab7b5d8c8637e86faa935a9047f))
19
+ * @applitools/dom-snapshot bumped to 4.9.2
20
+
21
+ * @applitools/spec-driver-webdriver bumped to 1.1.3
22
+
23
+ * @applitools/spec-driver-selenium bumped to 1.5.72
24
+
25
+ * @applitools/spec-driver-puppeteer bumped to 1.4.3
26
+
27
+ * @applitools/driver bumped to 1.16.5
28
+ #### Bug Fixes
29
+
30
+ * trigger js release again ([1695f3d](https://github.com/Applitools-Dev/sdk/commit/1695f3d9967c7ab7b5d8c8637e86faa935a9047f))
31
+ * @applitools/screenshoter bumped to 3.8.27
32
+
33
+ * @applitools/nml-client bumped to 1.7.5
34
+
35
+ * @applitools/ufg-client bumped to 1.10.2
36
+
37
+ * @applitools/ec-client bumped to 1.7.30
38
+
39
+ * @applitools/core bumped to 4.10.2
40
+
41
+
42
+ ## [3.47.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.47.1...js/eyes-storybook@3.47.2) (2024-03-18)
43
+
44
+
45
+ ### Dependencies
46
+
47
+ * @applitools/css-tree bumped to 1.1.1
48
+ #### Bug Fixes
49
+
50
+ * trigger js release ([dbc9bf8](https://github.com/Applitools-Dev/sdk/commit/dbc9bf8da3ab5d93e570881ba2c61efa47a1b342))
51
+ * @applitools/dom-snapshot bumped to 4.9.1
52
+
53
+ * @applitools/spec-driver-webdriver bumped to 1.1.2
54
+
55
+ * @applitools/spec-driver-selenium bumped to 1.5.71
56
+
57
+ * @applitools/spec-driver-puppeteer bumped to 1.4.2
58
+
59
+ * @applitools/driver bumped to 1.16.4
60
+ #### Bug Fixes
61
+
62
+ * trigger js release ([dbc9bf8](https://github.com/Applitools-Dev/sdk/commit/dbc9bf8da3ab5d93e570881ba2c61efa47a1b342))
63
+ * @applitools/screenshoter bumped to 3.8.26
64
+
65
+ * @applitools/nml-client bumped to 1.7.4
66
+
67
+ * @applitools/ufg-client bumped to 1.10.1
68
+
69
+ * @applitools/ec-client bumped to 1.7.29
70
+
71
+ * @applitools/core bumped to 4.10.1
72
+
73
+
74
+ ## [3.47.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.47.0...js/eyes-storybook@3.47.1) (2024-03-17)
75
+
76
+
77
+ ### Dependencies
78
+
79
+ * @applitools/css-tree bumped to 1.1.0
80
+ #### Features
81
+
82
+ * support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
83
+ * @applitools/dom-snapshot bumped to 4.9.0
84
+ #### Features
85
+
86
+ * support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
87
+
88
+
89
+
90
+ * @applitools/driver bumped to 1.16.3
91
+ #### Bug Fixes
92
+
93
+ * skip execution of getCurrentWorld and getWorlds when env var is set ([#2234](https://github.com/Applitools-Dev/sdk/issues/2234)) ([3a88602](https://github.com/Applitools-Dev/sdk/commit/3a886028b0437b73dae0474408d9bb74ba940dec))
94
+ * trigger build ([acb9c88](https://github.com/Applitools-Dev/sdk/commit/acb9c88161cf55e8b1e409425b5571d69a2e1d5c))
95
+ * @applitools/ufg-client bumped to 1.10.0
96
+ #### Features
97
+
98
+ * support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
99
+ * throttle fetching resources by default ([#2216](https://github.com/Applitools-Dev/sdk/issues/2216)) ([a2da800](https://github.com/Applitools-Dev/sdk/commit/a2da80076eb30241a168500903a9d80344900213))
100
+
101
+
102
+
103
+ * @applitools/spec-driver-webdriver bumped to 1.1.1
104
+
105
+ * @applitools/spec-driver-selenium bumped to 1.5.70
106
+
107
+ * @applitools/spec-driver-puppeteer bumped to 1.4.1
108
+
109
+ * @applitools/screenshoter bumped to 3.8.25
110
+
111
+ * @applitools/nml-client bumped to 1.7.3
112
+
113
+ * @applitools/ec-client bumped to 1.7.28
114
+
115
+ * @applitools/core bumped to 4.10.0
116
+ #### Features
117
+
118
+ * support webview in nml ([#2236](https://github.com/Applitools-Dev/sdk/issues/2236)) ([b4440d8](https://github.com/Applitools-Dev/sdk/commit/b4440d86a863d1af8089f8606ac6819636fa46f4))
119
+
120
+
121
+
122
+
3
123
  ## [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
124
 
5
125
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-storybook",
3
- "version": "3.47.0",
3
+ "version": "3.47.4",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "applitools",
@@ -31,7 +31,6 @@
31
31
  "test:versions": "yarn build && yarn test:e2e:versions && yarn lint",
32
32
  "test:e2e": "MOCHA_GROUP=e2e run --top-level mocha --trace-warnings 'test/e2e/*.e2e.test.js'",
33
33
  "test:e2e:versions": "MOCHA_GROUP=e2e_versions run --top-level mocha --trace-warnings test/versions/*.e2e.versions.test.js",
34
- "test:e2e:versions_local": "APPLITOOLS_FRAMEWORK_VERSION=latest npx mocha --trace-warnings --require test/fixtures/storybook-versions/mochaHooks.js test/versions/*.e2e.versions.test.js",
35
34
  "test:sanity": "run --top-level mocha --trace-warnings 'test/sanity/*.test.js'",
36
35
  "test:heavy": "node bin/eyes-storybook.js -f test/fixtures/heavyStorybook/applitools.config.js",
37
36
  "storybook": "start-storybook -c test/fixtures/appWithStorybook -p 9001 -s test/fixtures",
@@ -52,23 +51,23 @@
52
51
  "changelog:init": "git config changelog.format \"* %s [[%h]($(echo $npm_package_repository_url|cut -d+ -f2|cut -d. -f1-2)/commit/%H)]\"",
53
52
  "changelog:install": "sudo apt-get install git-extras",
54
53
  "postinstall": "node src/postinstall",
55
- "up:framework": "yarn add --dev --caret @storybook/react${APPLITOOLS_FRAMEWORK_VERSION:+@$APPLITOOLS_FRAMEWORK_VERSION}"
54
+ "up:framework": "cd test/fixtures/storybook-versions/${APPLITOOLS_FRAMEWORK_VERSION} && npm ci"
56
55
  },
57
56
  "dependencies": {
58
- "@applitools/core": "4.9.1",
59
- "@applitools/driver": "1.16.2",
57
+ "@applitools/core": "4.10.2",
58
+ "@applitools/driver": "1.16.5",
60
59
  "@applitools/functional-commons": "1.6.0",
61
60
  "@applitools/logger": "2.0.14",
62
61
  "@applitools/monitoring-commons": "1.0.19",
63
- "@applitools/spec-driver-puppeteer": "1.4.0",
64
- "@applitools/ufg-client": "1.9.10",
62
+ "@applitools/spec-driver-puppeteer": "1.4.3",
63
+ "@applitools/ufg-client": "1.10.2",
65
64
  "@applitools/utils": "1.7.0",
66
65
  "boxen": "4.2.0",
67
66
  "chalk": "3.0.0",
68
67
  "detect-port": "1.3.0",
69
68
  "lodash": "4.17.21",
70
69
  "ora": "3.4.0",
71
- "puppeteer": "20.9.0",
70
+ "puppeteer": "21.11.0",
72
71
  "strip-ansi": "6.0.0",
73
72
  "throat": "6.0.2",
74
73
  "yargs": "17.7.2"
package/src/initPage.js CHANGED
@@ -9,6 +9,7 @@ function makeInitPage({iframeUrl, config, browser, logger, getTransitiongIntoIE,
9
9
  logger.log('initializing puppeteer page number ', pageId);
10
10
  const pages = await browserContexts[browserContexts.length - 1].pages();
11
11
  if (pages.length === 5) {
12
+ // TODO after dropping support for Node.js 16 we can upgrade to Puppeteer >= 22 and then `createIncognitoBrowserContext` should be renamed to `createBrowserContext` (https://github.com/puppeteer/puppeteer/blob/main/packages/puppeteer-core/CHANGELOG.md#2200-2024-02-05)
12
13
  const browserContext = await browser.createIncognitoBrowserContext();
13
14
  browserContexts.push(browserContext);
14
15
  }