@wdio/visual-service 10.0.0 → 10.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 +27 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @wdio/visual-service
|
|
2
2
|
|
|
3
|
+
## 10.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8cbb294: fix: wire ignoreAntialiasing to pixelmatch AA forgiveness toggle
|
|
8
|
+
|
|
9
|
+
In v10 the pixelmatch engine always ran with anti-aliasing forgiveness enabled, even when `ignoreAntialiasing` was `false`. The option had no effect on comparison behaviour.
|
|
10
|
+
|
|
11
|
+
**What changed**
|
|
12
|
+
|
|
13
|
+
- `ignoreAntialiasing` now toggles pixelmatch's AA handling: `true` forgives anti-aliased pixels, `false` counts them as mismatches.
|
|
14
|
+
- The default is now `ignoreAntialiasing: true`, matching the forgiving pixelmatch behaviour users already get in v10.
|
|
15
|
+
- `ignoreLess` and `ignoreNothing` keep their own threshold behaviour; AA forgiveness is controlled independently via `ignoreAntialiasing`.
|
|
16
|
+
|
|
17
|
+
**Migration**
|
|
18
|
+
|
|
19
|
+
- No action needed if you rely on the current forgiving defaults, comparison behaviour stays the same.
|
|
20
|
+
- If you explicitly set `ignoreAntialiasing: true` today, that remains redundant but harmless.
|
|
21
|
+
- Set `ignoreAntialiasing: false` when you need strict comparison where anti-aliased pixels count as differences.
|
|
22
|
+
|
|
23
|
+
### Committers: 1
|
|
24
|
+
|
|
25
|
+
- Wim Selles ([@wswebcreation](https://github.com/wswebcreation))
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [8cbb294]
|
|
28
|
+
- @wdio/image-comparison-core@2.0.1
|
|
29
|
+
|
|
3
30
|
## 10.0.0
|
|
4
31
|
|
|
5
32
|
### Major Changes
|
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": "10.0.
|
|
5
|
+
"version": "10.0.1",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://webdriver.io/docs/visual-testing",
|
|
8
8
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@wdio/logger": "^9.29.1",
|
|
25
25
|
"@wdio/types": "^9.29.1",
|
|
26
26
|
"expect-webdriverio": "^5.6.9",
|
|
27
|
-
"@wdio/image-comparison-core": "2.0.
|
|
27
|
+
"@wdio/image-comparison-core": "2.0.1"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "run-s clean build:*",
|