Releases: webdriverio/visual-testing
New features
This PR contains:
- Typescript support, thanks to Mauricio Giacomello. Just add this to your
tsconfig.json
:
{
"compilerOptions": {
"types": [
"wdio-image-comparison-service"
]
}
}
- Official support for Chrome DevTools with this module
Contains:
Add support for hybrid apps
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
Add scaling
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()
andcheckFullPageScreen()
. It will override the plugin setting
Scales 2 images to same size before execution of comparison. Highly recommended to enableignoreAntialiasing
and ignoreAlpha
Contains:
- feat: update core with latest version and update some dev-dependencies c767951
Feature
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
Feature and fix
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
Update compare core
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:
Bug fix
This PR fixes #13
Contains:
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: