Releases: webdriverio/visual-testing
Fix and dependency update
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
Feature and fix
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:
v1.3.0
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:
New feature and a bug fix
Feature:
- Update base.ts to accept functions for folder name, thanks to Drew Dimanlig wswebcreation/webdriver-image-comparison#23.
- allow baselineFolder to be a string or function that is passed an options object
- allow screenshotPath to be a string or function that is passed an options object
Seebaselinefolder
for more information
Fix:
- The hiding and showing of the scrollbar during a fullpage screenshot on Linux gave inconsistent results, see wswebcreation/webdriver-image-comparison#21 and wswebcreation/webdriver-image-comparison#22. Tnx to Antonello Caboni for the research
Contains:
- Feat: update to latest version of webdriver-image-comparison 815b56f
Optimize getting the page scroll height
Update core
- fix: update to latest version of
webdriver-image-comparison
and add release scripts 8b3f9d2
New release
wdio-image-comparison-service is a lightweight WebdriverIO service for browsers / mobile browsers / hybrid apps to do image comparison on screens, elements or full page screens.
You can:
- save or compare screens / elements / full page screens against a baseline
- automatically create a baseline when no baseline is there
- blockout custom regions and even automatically exclude a status and or tool bars (mobile only) during a comparison
- increase the element dimensions screenshots
- use different comparison methods
- and much more, see the options here
Last but not least, it holds the methods hideAfterFirstScroll
for saveFullPageScreen
and checkFullPageScreen
and will basically hide 1 or multiple elements from the UI after the first scroll. This will hide for example sticky headers from a large screenshot. See for example this, the left side is without enabling this option, the right is with providing an element in the hideAfterFirstScroll
The module is based on the power of the new webdriver-image-comparison
module. This is a lightweight module to retrieve the needed data and screenshots for all browsers / devices.
The comparison power comes from ResembleJS. If you want to compare images online you can check the online tool
It can be used for:
- desktop browsers (Chrome / Firefox / Safari / Internet Explorer 11 / Microsoft Edge)
- mobile / tablet browsers (Chrome / Safari on emulators / real devices) via Appium
- Hybrid apps via Appium
First beta
First beta of this module. It now only supports browsers and not Safari 12
Install with npm install wdio-image-comparison-service@beta