Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gemini-testing/hermione-reassert-view
Testplane plugin for configuration assertView command
https://github.com/gemini-testing/hermione-reassert-view
testplane-plugin
Last synced: about 2 months ago
JSON representation
Testplane plugin for configuration assertView command
- Host: GitHub
- URL: https://github.com/gemini-testing/hermione-reassert-view
- Owner: gemini-testing
- Created: 2018-10-30T14:33:29.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T14:52:03.000Z (about 2 years ago)
- Last Synced: 2024-11-06T17:12:22.722Z (2 months ago)
- Topics: testplane-plugin
- Language: JavaScript
- Homepage:
- Size: 186 KB
- Stars: 0
- Watchers: 9
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hermione-reassert-view
Plugin for [hermione](https://github.com/gemini-testing/hermione), which makes less strict comparison of images via resemblejs if there is a diff after `assertView`.
More info about hermione plugins in [hermione](https://github.com/gemini-testing/hermione#plugins).## Installation
```bash
$ npm install hermione-reassert-view
```## Configuration
In hermione config:
```js
module.exports = {
// ...plugins: {
'hermione-reassert-view': {
enabled: true, // by default
browsers: ['edge'],
maxDiffSize: { // max allowable diff size in pixels before ignoring antialiasing
width: 10, // 15 by default
height: 10 // 15 by default
},
dry: true // debug mode: do not fix assert view results. `false` by default
}
},// ...
};
```## Debugging
```bash
$ DEBUG=hermione-reassert-view hermione_reassert_view_dry=true hermione
```