Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
docs: fix info about "compareOpts"
Browse files Browse the repository at this point in the history
  • Loading branch information
DudaGod committed Jan 29, 2019
1 parent 4f3f652 commit 520aa5d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions doc/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ calibrate: false
tolerance: 3.5
antialiasingTolerance: 0,
compareOpts:
stopOnFirstFail: true
stopOnFirstFail: false
buildDiffOpts:
ignoreAntialiasing: true
ignoreCaret: true
httpTimeout: 5000
sessionRequestTimeout: 60000
sessionQuitTimeout: 5000
Expand Down Expand Up @@ -215,9 +218,12 @@ Settings list:

* `antialiasingTolerance` β€” read about this option in [looks-same](https://github.com/gemini-testing/looks-same#comparing-images-with-ignoring-antialiasing).

* `compareOpts` β€” extra options for images comparing. It's an Object with following fields:
* `[stopOnFirstFail] {Boolean}` Only first pixel will be found if this option is true
See [looks-same](https://github.com/gemini-testing/looks-same#comparing-images) documentation for the list of options.
* `compareOpts` β€” extra options for comparing images. See [looks-same](https://github.com/gemini-testing/looks-same#comparing-images) documentation for the list of available options. Default values are:
```javascript
compareOpts: {
stopOnFirstFail: false
}
```

* `windowSize` β€” specify browser window dimensions (i.e. `1600x1200`). If not
specified, the size of the window depends on WebDriver. :warning: You can't set specific resolutions for browser Opera or mobile platforms. They use only full-screen resolution.
Expand Down

0 comments on commit 520aa5d

Please sign in to comment.