Skip to content

Releases: webdriverio/visual-testing

Fix: Update TypeScript types

11 Mar 17:55
Compare
Choose a tag to compare

This release is a fix on the TypeSript Types. They should now all work and should give warnings on the options, see
image
image
image

and on the output

image
image

Contains:

  • Merge pull request #27 from wswebcreation/feat/add-all-typings 788116d
  • feat: add all types f6b11a8

v1.12.1...v1.12.2

v1.12.1

01 Mar 17:19
Compare
Choose a tag to compare

This release fixes issue wswebcreation/webdriver-image-comparison#52 regarding the error around Cannot set property 'visibility' of undefined where the provided element was not an HTMLElement but a WebdriverElement (from for example Puppeteer.)

Contains:

  • Merge remote-tracking branch 'origin/master' 97370e5
  • fix: fix issue 52 for webdriver-image-comparison 1f6980b
  • Merge pull request #23 from ovidubya/add-remote-example c03c7e1
  • update readme remote usage 701d1a2
  • update readme 23f8803
  • Update README.md 7061198

v1.12.0...v1.12.1

Add tabbable accessibility check

24 Feb 19:01
Compare
Choose a tag to compare

Friends-episode-16-friends-tv-the-one-with-fake-party-Za2odM4y39pa7h5PAv

This PR adds 2 new methods to the module that will help you verify if your website is accessible by using the TAB-key. I can talk for hours about it, but just check the docs to see how it works.

Happy testing!

Contains:

  • Merge pull request #22 from wswebcreation/feat/accessibility-lines a473fb0
  • feat: update webdriver-image-comparison c186ea8
  • chore: update docs and methods ff01954
  • test: add tabbable baseline images afa94c3
  • chore: remove logic from module and rely on webdriver-image-comparison 5875ba2
  • feat: add options and optimize drawing on canvas 422e281
  • feat: add initial setup of tabbable lines 04928a3
  • Update README.md 7ba09f6
  • Update README.md 59d7051

v1.11.0...v1.12.0

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