Skip to content

Releases: webdriverio/visual-testing

New features

20 Feb 16:50
Compare
Choose a tag to compare

This PR contains:

{
  "compilerOptions": {
    "types": [
      "wdio-image-comparison-service"
    ]
  }
}
  • Official support for Chrome DevTools with this module

Contains:

  • Merge pull request #20 from mvgiacomello/fix/issue-18-typescript-support 37a3b42
  • Merge pull request #21 from wswebcreation/feat/support-puppeteer 1473b65
  • feat: add chrome devtools support c576d52
  • Adding typescript types to the library. Readme changes included. fd419bf

v1.10.0...v1.11.0

Add support for hybrid apps

19 Feb 08:16
Compare
Choose a tag to compare

This PR adds support for hybrid apps. If you use it please add isHybridApp:true to your config, like this

const { join } = require('path');
// wdio.conf.js
exports.config = {
    // ...
    // =====
    // Setup
    // =====
    services: [
        ['image-comparison',
        // The options
        {
            // Some options, see the docs for more
            baselineFolder: join(process.cwd(), './tests/sauceLabsBaseline/'),
            formatImageName: '{tag}-{logName}-{width}x{height}',
            screenshotPath: join(process.cwd(), '.tmp/'),
            savePerInstance: true,
            autoSaveBaseline: true,
            blockOutStatusBar: true,
            blockOutToolBar: true,
            // NOTE: When you are testing a hybrid app please use this setting
            isHybridApp: true,
            // ... more options
        }],
    ],
    // ...
};

Contains

  • Merge pull request #19 from wswebcreation/feat/update-dependencies f9b7440
  • feat: add hybrid and Android 10 support c87aab9
  • chore: update baseline a0b5916
  • Merge remote-tracking branch 'origin/master' 54d1930
  • chore: update baseline f26defb
  • Update README.md c9898b8
  • Fix ChromeDriver issue for Chrome 69 9b4e57a
  • Update README.md 653bbd5
  • Update README.md 8d36df5
  • chore: add more browsers and iOS 13 b80e9f2
  • chore: update to node 12 2560599
  • chore: add android 9 again dcfcdc0
  • chore: update dependencies and new ff screenshots 10a21e2

v1.9.0...v1.10.0

Add scaling

08 Dec 09:01
Compare
Choose a tag to compare

This new release adds scaling images functionality thanks to asterium

It can be used like this

scaleImagesToSameSize

  • Type: boolean
  • Default: false
  • Mandatory: no
  • Remark: Can also be used for checkElement, checkScreen() and checkFullPageScreen(). It will override the plugin setting
    Scales 2 images to same size before execution of comparison. Highly recommended to enable ignoreAntialiasing and ignoreAlpha

Contains:

  • feat: update core with latest version and update some dev-dependencies c767951

v1.8.0...v1.9.0

Feature

31 Oct 08:36
Compare
Choose a tag to compare

This release adds support for Android 10 and removes the default comparison console log , see below

#####################################################################################
 WARNING:
 There was a difference. Saved the difference to
 /path/image-name-1919x1079.png
#####################################################################################

and adds it to the debug property, thanks to Warley Gabriel. This solves wswebcreation/webdriver-image-comparison#46

Contains:

  • feat: upgrade to latest compare core 49d76b6

v1.7.0...v1.8.0

Feature and fix

23 Oct 12:04
Compare
Choose a tag to compare

This release fixes an issue for not being able to collect all screenshots in certain situations, thanks to Tom Yam

It now also supports iOS 13, see wswebcreation/webdriver-image-comparison#42

Contains:

  • feat: upgrade to latest compare core 2a5bf5c

v1.6.0...v1.7.0

Update compare core

03 Oct 10:51
Compare
Choose a tag to compare

This release contains the new version of the compare core, which enabled you to provide hideElements and removeElements as an elementArray, so meaning you can provide this [$('#id'), $$('.class')], see also https://github.com/wswebcreation/webdriver-image-comparison/releases/tag/v0.9.0

Contains:

  • feat: upgrade to latest compare core 27b498f
  • chore: update firefox image for font rendering a1d8a0d

v1.5.1...v1.6.0

Bug fix

20 Aug 18:21
Compare
Choose a tag to compare

This PR fixes #13

Contains:

  • chore: update to right dependency 066713a
  • test: fix chrome images 3b84bc2

v1.5.0...v1.5.1

Fix and dependency update

28 Jul 15:37
Compare
Choose a tag to compare

This release updates canvas to 2.6.0 and fixes #2

Contains:

  • Merge pull request #12 from wswebcreation/fix/determine-platformName 4f1076f
  • chore: update to right dependency f8f3c27
  • chore: update dependency 17f2d7b
  • fix: determine mobile platform name correctly 69992cd
  • Merge pull request #11 from wswebcreation/chore/update-dependencies c86d412
  • chore: update dependencies and fix tests a8aae3d

v1.4.0...v1.5.0

Feature and fix

26 Jul 19:55
Compare
Choose a tag to compare

This adds the feature requested in wswebcreation/webdriver-image-comparison#6 including:

  • simplify local config
  • add extra test instances for sauce chrome
  • add new tests

Last but not least it holds a fix to not always do the customerCSS call that caused issues on FireFox

Contains:

  • Merge pull request #9 from wswebcreation/feat/fix-feature df330c6
  • feat: prepare to use the latest version of webdriver-image-comparison to use the new formatImageName options d7f216a
  • feat: add extra formatImageName options d3a0e12

v1.3.0...v1.4.0

v1.3.0

11 Jul 14:58
Compare
Choose a tag to compare

This PR adds the ability to set folders option per method, thanks to Drew Dimanlig. You can see how it works here

Also some code refactor and adding / refactoring tests

Contains:

  • Merge pull request #5 from wswebcreation/feat/folder-options-and-refactor a657f78
  • test: refactored the tests 4919cd6
  • Merge pull request #4 from rundmd/pass-folder-object-to-commands 329b988
  • Fixed some typos and formatting 80ecf03
  • Add the ability to set folder options per method e7e46e4

v1.2.0...v1.3.0