@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.
- package/dist/config/loader.js +7 -1
- package/package.json +1 -1
package/dist/config/loader.js
CHANGED
|
@@ -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
|
/**
|