Releases: burnpiro/puppeteer-screenshot-tester
Release 1.6.0
Minor Changes
- Fixing #48 (incorrect .png compression)
- Adding
overrides
attribute tooutputSettings
that allows to set sharp's options
Release 1.5.0
Minor Changes
- Ability to handle multiple file formats (all supported by puppeteer) fixes #47
- Option to set output compression and force different format than puppeteers' (
outputSettings
)
Dev environment changes
- Bump
puppeteer
to11.0.0
- Bump
nodejs-resemble
to0.4.1
Release 1.4.0
- Upgrade puppeteer to v8.0
- Dependencies audit
- Example test changed to w3s history page
Release 1.3.1
Fix dependency issue with node-resemble.js
Release 1.3.0
Change dependency on node-resemble.js (no longer maintained) to my own fork
Implement include rectangles (see README.md)
Closes #33
Release 1.2.0
Upgrade to puppeteer 5.x
More on ignoring rectangles
Release 1.1.1
@JacobJust Added config to overwrite image, useful if target images are commit ...
@JacobJust commit target image
Release 1.1.0
New screenshotOptions
option:
saveNewImageOnError
: <[boolean]> saves the undiffed new image on error as ${saveFolder}/${name}-diff${ext}
Release 1.0.1
##Changes
-Default threshold set to 0
-Add option to setup how to display errors:
constructor([{...} [, errorSettings = Object] ]]])
errorSettings
<[Object]> change how to display errors (errorType:flat
|movement
|flatDifferenceIntensity
|movementDifferenceIntensity
|diffOnly
):
{
errorColor: {
red: 255,
green: 0,
blue: 255
},
errorType: 'flat',
transparency: 0.7
}
Release 1.0.0
###Major changes
Change in comparison library, replace pixelmatch with node-resemble.js
Default threshold
changed from 0.1
to 0.02
which means that right now images with more than 2% difference are treated as different
Add options in constructor
ignoreColors
<[boolean]> should ignore colors?ignoreRectangles
<[Array<Array[x, y, width, height]>]> should ignore rectangles? example:[[325,170,100,40], [10,10,200,200]]