@testivai/witness-webdriverio 0.3.0 → 0.3.3

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -97,7 +97,9 @@ Approve writes the temp capture over the baseline and backs the previous baselin
97
97
 
98
98
  ## DOM noise hint
99
99
 
100
- When pixels differ but the page DOM is structurally identical, the report flags the change as "likely render noise" (anti-aliasing, font hinting, sub-pixel layout). When the DOM is also different, the report shows added / removed / attribute-change counts so you can decide whether the change is intentional. Same signal as the Playwright adapter — both write `dom.html` alongside the screenshot.
100
+ When pixels differ but the page DOM is structurally identical, the report flags the change as "likely render noise" (anti-aliasing, font hinting, sub-pixel layout). When the DOM is also different, the report shows added / removed / attribute-change counts so you can decide whether the change is intentional. Like the Playwright adapter, it writes `dom.html` alongside the screenshot.
101
+
102
+ Unlike the Playwright adapter, this adapter does not capture an element map yet, so the computed-style check reports `styleCheck: "unavailable"`: a stylesheet-only change (identical DOM, different styles) cannot be told apart from render noise here, and element attribution and page-shift detection are not available.
101
103
 
102
104
  DOM capture happens automatically. To skip it for a single snapshot:
103
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testivai/witness-webdriverio",
3
- "version": "0.3.0",
3
+ "version": "0.3.3",
4
4
  "description": "WebdriverIO adapter for TestivAI Witness — local-first visual regression with pixel + DOM comparison",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -54,15 +54,15 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@testivai/witness": "2.0.0"
57
+ "@testivai/witness": "2.1.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/jest": "^30.0.0",
61
61
  "@types/node": "^20.0.0",
62
- "jest": "^30.4.2",
63
- "ts-jest": "^29.4.11",
62
+ "jest": "^30.5.1",
63
+ "ts-jest": "^29.4.12",
64
64
  "typescript": "^6.0.3",
65
- "webdriverio": "^9.0.0"
65
+ "webdriverio": "^9.31.7"
66
66
  },
67
67
  "scripts": {
68
68
  "build": "tsc",