@wdio/visual-service 9.0.0 → 9.0.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 +42 -2
- package/dist/storybook/utils.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @wdio/visual-service
|
|
2
2
|
|
|
3
|
+
## 9.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 79d2b1d: # 🐛 Bugfixes
|
|
8
|
+
|
|
9
|
+
## #1073 Normalize Safari desktop screenshots by trimming macOS window corner radius and top window shadow
|
|
10
|
+
|
|
11
|
+
Safari desktop screenshots included the macOS window mask at the bottom and a shadow at the top. These artifacts caused incorrect detection of the viewable area for full page screenshots, which resulted in misaligned stitching. The viewable region is now calculated correctly by trimming these areas.
|
|
12
|
+
|
|
13
|
+
# Committers: 1
|
|
14
|
+
|
|
15
|
+
- Wim Selles ([@wswebcreation](https://github.com/wswebcreation))
|
|
16
|
+
|
|
17
|
+
- 782b98a: # 🐛 Bugfixes
|
|
18
|
+
|
|
19
|
+
## #1000 fix incorrect cropping and stitching of last image for fullpage screenshots on mobile
|
|
20
|
+
|
|
21
|
+
The determination of the position of the last image in mobile fullpage webscreenshots was incorrect. This was mostly seen with iOS, but also had some impact on Android. This is now fixed
|
|
22
|
+
|
|
23
|
+
# Committers: 1
|
|
24
|
+
|
|
25
|
+
- Wim Selles ([@wswebcreation](https://github.com/wswebcreation))
|
|
26
|
+
|
|
27
|
+
- 2c109b3: # 🐛 Bugfixes
|
|
28
|
+
|
|
29
|
+
## #1038 fix incorrect determination of ignore area
|
|
30
|
+
|
|
31
|
+
Ignore regions with `left: 0` and `right:0` lead to an incorrect width which lead to an incorrect ignore area. This is now fixed
|
|
32
|
+
|
|
33
|
+
# Committers: 1
|
|
34
|
+
|
|
35
|
+
- Wim Selles ([@wswebcreation](https://github.com/wswebcreation))
|
|
36
|
+
|
|
37
|
+
- Updated dependencies [79d2b1d]
|
|
38
|
+
- Updated dependencies [782b98a]
|
|
39
|
+
- Updated dependencies [2c109b3]
|
|
40
|
+
- @wdio/image-comparison-core@1.0.1
|
|
41
|
+
|
|
3
42
|
## 9.0.0
|
|
4
43
|
|
|
5
44
|
### Major Changes
|
|
@@ -82,12 +121,13 @@
|
|
|
82
121
|
- be4272c: fix: [983](#983) in multiremote, commands are now executed on the requested instances
|
|
83
122
|
- Updated dependencies [74df53b]
|
|
84
123
|
- Updated dependencies [1326e99]
|
|
124
|
+
|
|
85
125
|
- @wdio/image-comparison-core@1.0.0
|
|
86
126
|
|
|
87
127
|
## Committers: 2
|
|
88
128
|
|
|
89
|
-
|
|
90
|
-
|
|
129
|
+
- P-Courteille ([@P-Courteille](https://github.com/P-Courteille))
|
|
130
|
+
- Wim Selles ([@wswebcreation](https://github.com/wswebcreation))
|
|
91
131
|
|
|
92
132
|
## 8.0.4
|
|
93
133
|
|
package/dist/storybook/utils.js
CHANGED
|
@@ -36,7 +36,7 @@ export async function checkStorybookIsRunning(url) {
|
|
|
36
36
|
try {
|
|
37
37
|
const res = await fetch(url, { method: 'GET', headers: {} });
|
|
38
38
|
if (res.status !== 200) {
|
|
39
|
-
throw new Error(`
|
|
39
|
+
throw new Error(`Unexpected status: ${res.status}`);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
catch (_e) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@wdio/visual-service",
|
|
3
3
|
"author": "Wim Selles - wswebcreation",
|
|
4
4
|
"description": "Image comparison / visual regression testing for WebdriverIO",
|
|
5
|
-
"version": "9.0.
|
|
5
|
+
"version": "9.0.1",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://webdriver.io/docs/visual-testing",
|
|
8
8
|
"repository": {
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@wdio/globals": "^9.17.0",
|
|
24
24
|
"@wdio/logger": "^9.18.0",
|
|
25
|
-
"@wdio/types": "^9.
|
|
26
|
-
"expect-webdriverio": "^5.
|
|
27
|
-
"@wdio/image-comparison-core": "1.0.
|
|
25
|
+
"@wdio/types": "^9.20.0",
|
|
26
|
+
"expect-webdriverio": "^5.5.0",
|
|
27
|
+
"@wdio/image-comparison-core": "1.0.1"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "run-s clean build:*",
|