@applitools/eyes-storybook 3.36.0 → 3.37.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 +37 -0
- package/package.json +16 -26
- package/src/cli.js +1 -1
- package/src/processResults.js +4 -4
- package/src/wrapBundle.js +1 -1
- package/src/yargsOptions.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,43 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
## [3.37.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-storybook@3.36.0...js/eyes-storybook@3.37.0) (2023-07-18)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* support retries on stuck requests ([#1773](https://github.com/applitools/eyes.sdk.javascript1/issues/1773)) ([4db470e](https://github.com/applitools/eyes.sdk.javascript1/commit/4db470ee6829c13cfaf7e521ef91e20854266edd))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* fix lint config and remove extranous deps ([aea605c](https://github.com/applitools/eyes.sdk.javascript1/commit/aea605c4a1d6cca37d84b464af369cdbff3c6234))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Dependencies
|
|
21
|
+
|
|
22
|
+
* @applitools/req bumped from 1.4.0 to 1.5.0
|
|
23
|
+
#### Features
|
|
24
|
+
|
|
25
|
+
* support retries on stuck requests ([be673bb](https://github.com/applitools/eyes.sdk.javascript1/commit/be673bb505c9b21d6aea37d86e88513e95e3cb02))
|
|
26
|
+
* @applitools/ufg-client bumped from 1.4.1 to 1.5.0
|
|
27
|
+
#### Features
|
|
28
|
+
|
|
29
|
+
* support retries on stuck requests ([be673bb](https://github.com/applitools/eyes.sdk.javascript1/commit/be673bb505c9b21d6aea37d86e88513e95e3cb02))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
* @applitools/core bumped to 3.6.2
|
|
34
|
+
|
|
35
|
+
* @applitools/core-base bumped from 1.4.0 to 1.4.1
|
|
36
|
+
|
|
37
|
+
* @applitools/ec-client bumped from 1.7.0 to 1.7.1
|
|
38
|
+
|
|
39
|
+
* @applitools/tunnel-client bumped from 1.1.0 to 1.1.1
|
|
40
|
+
|
|
41
|
+
* @applitools/nml-client bumped from 1.5.2 to 1.5.3
|
|
42
|
+
|
|
43
|
+
|
|
7
44
|
## [3.36.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-storybook-v3.35.1...js/eyes-storybook@3.36.0) (2023-07-05)
|
|
8
45
|
|
|
9
46
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-storybook",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.37.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"applitools",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"scripts": {
|
|
28
|
-
"lint": "eslint '**/*.js'",
|
|
28
|
+
"lint": "run --top-level eslint '**/*.js'",
|
|
29
29
|
"build": "rollup -c rollup.config.js",
|
|
30
30
|
"build:heavy": "node scripts/bitmap.js",
|
|
31
31
|
"test": "yarn build && yarn test:mocha && yarn lint",
|
|
32
|
-
"test:mocha": "mocha --no-timeouts --trace-warnings 'test/{unit,it,e2e}/*.test.js'",
|
|
33
|
-
"test:unit": "mocha --no-timeouts --trace-warnings 'test/unit/*.test.js'",
|
|
34
|
-
"test:it": "mocha --no-timeouts --trace-warnings 'test/it/*.test.js'",
|
|
35
|
-
"test:versions": "yarn build && yarn test:e2e:versions && yarn lint",
|
|
36
|
-
"test:e2e": "mocha --no-timeouts --trace-warnings 'test/e2e/*.e2e.test.js'",
|
|
32
|
+
"test:mocha": "run --top-level mocha --no-timeouts --trace-warnings 'test/{unit,it,e2e}/*.test.js'",
|
|
33
|
+
"test:unit": "run --top-level mocha --no-timeouts --trace-warnings 'test/unit/*.test.js'",
|
|
34
|
+
"test:it": "run --top-level mocha --no-timeouts --trace-warnings 'test/it/*.test.js'",
|
|
35
|
+
"test:versions": "run --top-level yarn build && yarn test:e2e:versions && yarn lint",
|
|
36
|
+
"test:e2e": "run --top-level mocha --no-timeouts --trace-warnings 'test/e2e/*.e2e.test.js'",
|
|
37
37
|
"test:e2e:versions": "npx mocha --no-timeouts --trace-warnings --require test/fixtures/storybook-versions/mochaHooks.js test/versions/*.e2e.versions.test.js",
|
|
38
38
|
"test:e2e:versions_local": "APPLITOOLS_FRAMEWORK_VERSION=latest npx mocha --no-timeouts --trace-warnings --require test/fixtures/storybook-versions/mochaHooks.js test/versions/*.e2e.versions.test.js",
|
|
39
39
|
"test:heavy": "node bin/eyes-storybook.js -f test/fixtures/heavyStorybook/applitools.config.js",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"postinstall": "node src/postinstall"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@applitools/core": "3.
|
|
61
|
-
"@applitools/driver": "1.13.
|
|
60
|
+
"@applitools/core": "^3.6.2",
|
|
61
|
+
"@applitools/driver": "^1.13.1",
|
|
62
62
|
"@applitools/functional-commons": "1.6.0",
|
|
63
|
-
"@applitools/logger": "2.0.5",
|
|
63
|
+
"@applitools/logger": "^2.0.5",
|
|
64
64
|
"@applitools/monitoring-commons": "1.0.19",
|
|
65
|
-
"@applitools/spec-driver-puppeteer": "1.1.
|
|
66
|
-
"@applitools/ufg-client": "1.
|
|
67
|
-
"@applitools/utils": "1.5.0",
|
|
65
|
+
"@applitools/spec-driver-puppeteer": "^1.1.69",
|
|
66
|
+
"@applitools/ufg-client": "^1.5.0",
|
|
67
|
+
"@applitools/utils": "^1.5.0",
|
|
68
68
|
"boxen": "4.2.0",
|
|
69
69
|
"chalk": "3.0.0",
|
|
70
70
|
"detect-port": "1.3.0",
|
|
@@ -74,34 +74,24 @@
|
|
|
74
74
|
"puppeteer": "19.8.0",
|
|
75
75
|
"strip-ansi": "6.0.0",
|
|
76
76
|
"throat": "6.0.1",
|
|
77
|
-
"yargs": "
|
|
77
|
+
"yargs": "17.7.2"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@applitools/bongo": "^
|
|
80
|
+
"@applitools/bongo": "^5.0.4",
|
|
81
81
|
"@applitools/sdk-shared": "0.9.15",
|
|
82
82
|
"@applitools/snaptdout": "^1.0.1",
|
|
83
83
|
"@applitools/test-server": "^1.2.2",
|
|
84
|
+
"@babel/eslint-parser": "^7.22.9",
|
|
84
85
|
"@storybook/addon-interactions": "^6.4.18",
|
|
85
86
|
"@storybook/react": "^6.4.18",
|
|
86
87
|
"@storybook/testing-library": "^0.0.9",
|
|
87
88
|
"@testing-library/dom": "^5.6.1",
|
|
88
|
-
"babel-core": "^6.26.3",
|
|
89
|
-
"babel-eslint": "^10.1.0",
|
|
90
|
-
"babel-loader": "^8.0.6",
|
|
91
|
-
"babel-preset-env": "^1.7.0",
|
|
92
|
-
"babel-preset-react": "^6.24.1",
|
|
93
89
|
"bitmap-manipulation": "^2.0.0",
|
|
94
90
|
"chai": "^4.2.0",
|
|
95
91
|
"core-js": "^3.6.1",
|
|
96
|
-
"eslint": "^6.6.0",
|
|
97
|
-
"eslint-plugin-mocha-no-only": "^1.1.0",
|
|
98
|
-
"eslint-plugin-node": "^10.0.0",
|
|
99
|
-
"eslint-plugin-prettier": "^3.1.1",
|
|
100
92
|
"express": "^4.17.1",
|
|
101
93
|
"filenamify": "^4.1.0",
|
|
102
|
-
"mocha": "^10.2.0",
|
|
103
94
|
"node-fetch": "^2.6.0",
|
|
104
|
-
"prettier": "^1.19.1",
|
|
105
95
|
"react": "^16.12.0",
|
|
106
96
|
"react-dom": "^16.12.0",
|
|
107
97
|
"rollup": "^1.28.0",
|
package/src/cli.js
CHANGED
|
@@ -18,7 +18,7 @@ const {presult} = require('@applitools/functional-commons');
|
|
|
18
18
|
const chalk = require('chalk');
|
|
19
19
|
const {performance, timeItAsync} = makeTiming();
|
|
20
20
|
|
|
21
|
-
(async function() {
|
|
21
|
+
(async function () {
|
|
22
22
|
try {
|
|
23
23
|
const argv = yargs
|
|
24
24
|
.usage('Usage: $0 [options]')
|
package/src/processResults.js
CHANGED
|
@@ -79,10 +79,10 @@ function processResults({
|
|
|
79
79
|
`\nA total of ${unresolved.length} difference${pluralize(unresolved, [
|
|
80
80
|
's were',
|
|
81
81
|
' was',
|
|
82
|
-
])} found and ${errors.length} stor${pluralize(errors, [
|
|
83
|
-
|
|
84
|
-
'
|
|
85
|
-
|
|
82
|
+
])} found and ${errors.length} stor${pluralize(errors, ['ies', 'y'])} failed for ${pluralize(
|
|
83
|
+
errors,
|
|
84
|
+
['', 'an '],
|
|
85
|
+
)}unexpected error${pluralize(errors)}.`,
|
|
86
86
|
);
|
|
87
87
|
} else if (warnForUnsavedNewTests) {
|
|
88
88
|
const countText =
|
package/src/wrapBundle.js
CHANGED
package/src/yargsOptions.js
CHANGED
|
@@ -54,7 +54,7 @@ module.exports = {
|
|
|
54
54
|
'A string that represents a story title or a regex (starts and ends with /) to match stories title',
|
|
55
55
|
requiresArg: false,
|
|
56
56
|
string: true,
|
|
57
|
-
coerce: function(arg) {
|
|
57
|
+
coerce: function (arg) {
|
|
58
58
|
if (arg.startsWith('/') && arg.endsWith('/')) {
|
|
59
59
|
// create a regex and remove slashes from the start and end of the input
|
|
60
60
|
return new RegExp(arg.substring(1, arg.length - 1));
|