@wdio/visual-service 6.2.3 → 6.2.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 +6 -0
- package/dist/matcher.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/matcher.js
CHANGED
|
@@ -19,7 +19,7 @@ function evaluateResult(result, expected, instanceName) {
|
|
|
19
19
|
const pass = result.misMatchPercentage <= expected;
|
|
20
20
|
return {
|
|
21
21
|
pass,
|
|
22
|
-
message: () => instanceName !== 'default' ? `Instance "${instanceName}":\n` : '' +
|
|
22
|
+
message: () => (instanceName !== 'default' ? `Instance "${instanceName}":\n` : '') +
|
|
23
23
|
`Expected image mismatch percentage to be at most ${expected}%, but was ${result.misMatchPercentage}%.\n` +
|
|
24
24
|
'If this is acceptable, you may need to adjust the threshold or update the baseline image if the changes are intentional.\n' +
|
|
25
25
|
`\nBaseline: ${result.folders.baseline}\n` +
|
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": "6.2.
|
|
5
|
+
"version": "6.2.4",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://webdriver.io/docs/visual-testing",
|
|
8
8
|
"repository": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"type": "module",
|
|
21
21
|
"types": "./dist/index.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@wdio/globals": "^9.
|
|
23
|
+
"@wdio/globals": "^9.4.1",
|
|
24
24
|
"@wdio/logger": "^9.1.3",
|
|
25
25
|
"@wdio/types": "^9.2.2",
|
|
26
26
|
"node-fetch": "^3.3.2",
|