src/visual-test/visual-test.ts
Object returned by a visual test operation
Properties |
|
baseScreenshotNotFound |
baseScreenshotNotFound:
|
Type : literal type
|
Optional |
Error object when base screensot not found. Contains the not found path as a string |
diff |
diff:
|
Type : literal type
|
Optional |
Object containing the actual diff between images as percentage, the threshold and screenshot file name |
generateMode |
generateMode:
|
Type : boolean
|
Optional |
Run only generation of screenshots |
imagesSize |
imagesSize:
|
Type : literal type
|
Optional |
Error object when base image and actual image have different sizes; Contains the screenshot ffile name |