@testivai/witness-playwright 1.3.0 → 1.3.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.
@@ -132,7 +132,13 @@ function mergeTestConfig(projectConfig, testConfig) {
132
132
  ...testConfig.performanceMetrics
133
133
  },
134
134
  selectors: testConfig.selectors,
135
- useBrowserCapture: testConfig.useBrowserCapture
135
+ useBrowserCapture: testConfig.useBrowserCapture,
136
+ // Per-call capture options must survive the merge: without these,
137
+ // witness(page, testInfo, name, { ignoreSelectors }) silently ignored
138
+ // the selectors (masked for a long time by the diff engine's cumulated
139
+ // threshold absorbing the tiny leaked pixels).
140
+ ignoreSelectors: testConfig.ignoreSelectors,
141
+ stabilize: testConfig.stabilize
136
142
  };
137
143
  }
138
144
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testivai/witness-playwright",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Playwright sensor for Testivai Visual Regression Test system",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",