@applitools/eyes-storybook 3.47.3 → 3.48.1

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,79 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.48.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook@3.48.0...js/eyes-storybook@3.48.1) (2024-04-01)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/spec-driver-selenium bumped to 1.5.74
9
+ #### Bug Fixes
10
+
11
+ * trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
12
+ * @applitools/core-base bumped to 1.10.1
13
+ #### Bug Fixes
14
+
15
+ * trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
16
+ * @applitools/ec-client bumped to 1.7.32
17
+
18
+ * @applitools/core bumped to 4.11.1
19
+
20
+
21
+ ## [3.48.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-storybook-v3.47.5...js/eyes-storybook@3.48.0) (2024-03-31)
22
+
23
+
24
+ ### Features
25
+
26
+ * added notification about outdated sdk version ([#2012](https://github.com/Applitools-Dev/sdk/issues/2012)) ([0f0a646](https://github.com/Applitools-Dev/sdk/commit/0f0a6462a56e7c97f9a22173c3b63af91e220adb))
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * add .cmd for storybook binary for windows for local binaries ([#1964](https://github.com/Applitools-Dev/sdk/issues/1964)) ([b6ee7d9](https://github.com/Applitools-Dev/sdk/commit/b6ee7d90d13a85f4ccc999cdcbaedb868d94b307))
32
+ * docs for eyes setup and concurrency message output ([#1953](https://github.com/Applitools-Dev/sdk/issues/1953)) ([13704da](https://github.com/Applitools-Dev/sdk/commit/13704dac39fa899c5e8bdb268539cd46aee5ccfb))
33
+ * lodash.pick vulnerability ([#2169](https://github.com/Applitools-Dev/sdk/issues/2169)) ([7354088](https://github.com/Applitools-Dev/sdk/commit/735408874e4917f5e9b086e1796f84101fd1f304))
34
+ * storybook upgrade puppeteer ([#2260](https://github.com/Applitools-Dev/sdk/issues/2260)) ([cb419a5](https://github.com/Applitools-Dev/sdk/commit/cb419a541cdfefaf7ab01727647ee40a002cb78a))
35
+
36
+
37
+ ### Code Refactoring
38
+
39
+ * fix safe selector generation ([#2072](https://github.com/Applitools-Dev/sdk/issues/2072)) ([373f11b](https://github.com/Applitools-Dev/sdk/commit/373f11b0dfea6eab417eb7077e0cfec79877dc1b))
40
+
41
+
42
+ ### Dependencies
43
+
44
+ * @applitools/spec-driver-selenium bumped to 1.5.73
45
+ #### Bug Fixes
46
+
47
+ * remove getSessionDetails call in JS Selenium ([#2280](https://github.com/Applitools-Dev/sdk/issues/2280)) ([d15748f](https://github.com/Applitools-Dev/sdk/commit/d15748f68c931f2f84c13efd8472399c1ff72e25))
48
+ * @applitools/core-base bumped to 1.10.0
49
+ #### Features
50
+
51
+ * Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
52
+ * batch buildId ([#2263](https://github.com/Applitools-Dev/sdk/issues/2263)) ([f19ac38](https://github.com/Applitools-Dev/sdk/commit/f19ac38612bc55d870f59161a39b5b7eb01e25f3))
53
+ * send heartbeat to keep test alive ([#2246](https://github.com/Applitools-Dev/sdk/issues/2246)) ([58636e7](https://github.com/Applitools-Dev/sdk/commit/58636e7dd353f06eb2b3bee1120ab81c3f9fcc94))
54
+
55
+
56
+ #### Bug Fixes
57
+
58
+ * retry Eyes request on ECONNREFUSED to improve stability during deployment ([d1e4dca](https://github.com/Applitools-Dev/sdk/commit/d1e4dcae79185578808b4f2c5f94fa79d7d914a3))
59
+ * @applitools/ec-client bumped to 1.7.31
60
+
61
+ * @applitools/core bumped to 4.11.0
62
+ #### Features
63
+
64
+ * Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
65
+ * batch buildId ([#2263](https://github.com/Applitools-Dev/sdk/issues/2263)) ([f19ac38](https://github.com/Applitools-Dev/sdk/commit/f19ac38612bc55d870f59161a39b5b7eb01e25f3))
66
+
67
+
68
+
69
+
70
+ ## [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)
71
+
72
+
73
+ ### Bug Fixes
74
+
75
+ * storybook upgrade puppeteer ([#2260](https://github.com/Applitools-Dev/sdk/issues/2260)) ([cb419a5](https://github.com/Applitools-Dev/sdk/commit/cb419a541cdfefaf7ab01727647ee40a002cb78a))
76
+
3
77
  ## [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)
4
78
 
5
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-storybook",
3
- "version": "3.47.3",
3
+ "version": "3.48.1",
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,10 +51,10 @@
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.10.2",
57
+ "@applitools/core": "4.11.1",
59
58
  "@applitools/driver": "1.16.5",
60
59
  "@applitools/functional-commons": "1.6.0",
61
60
  "@applitools/logger": "2.0.14",
@@ -68,7 +67,7 @@
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
  }