Skip to content

Releases: burnpiro/puppeteer-screenshot-tester

Release 1.6.0

06 Sep 16:30
Compare
Choose a tag to compare

Minor Changes

  • Fixing #48 (incorrect .png compression)
  • Adding overrides attribute to outputSettings that allows to set sharp's options

Release 1.5.0

07 Nov 23:29
Compare
Choose a tag to compare

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 to 11.0.0
  • Bump nodejs-resemble to 0.4.1

Release 1.4.0

31 Mar 10:50
Compare
Choose a tag to compare
  • Upgrade puppeteer to v8.0
  • Dependencies audit
  • Example test changed to w3s history page

Release 1.3.1

25 Jul 19:38
Compare
Choose a tag to compare

Fix dependency issue with node-resemble.js

Release 1.3.0

25 Jul 15:52
Compare
Choose a tag to compare

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

24 Jul 11:06
Compare
Choose a tag to compare

Upgrade to puppeteer 5.x
More on ignoring rectangles

Release 1.1.1

17 Mar 08:29
Compare
Choose a tag to compare

@JacobJust Added config to overwrite image, useful if target images are commit ...
@JacobJust commit target image

Release 1.1.0

17 Dec 16:44
Compare
Choose a tag to compare

New screenshotOptions option:
saveNewImageOnError: <[boolean]> saves the undiffed new image on error as ${saveFolder}/${name}-diff${ext}

Release 1.0.1

02 Feb 00:56
Compare
Choose a tag to compare

##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

02 Feb 00:14
Compare
Choose a tag to compare

###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]]