garris / garris/BackstopJS

BackstopJS ignoring changes from white to light grey background

Open
#703 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

It seems Backstop is not able to notice changes between grey and white background.
Here is a screenshot of the UI
![image](https://user-images.githubusercontent.com/2323627/37516052-d32f654e-2904-11e8-8202-47f57ac876a4.png)

Here are the test and reference snapshots:
![sdk_date-picker-examples-_0_date-ranges_0_desktop_test](https://user-images.githubusercontent.com/2323627/37516071-e328193c-2904-11e8-94d0-c0338b09ee07.png)
![sdk_date-picker-examples-_0_date-ranges_0_desktop_reference](https://user-images.githubusercontent.com/2323627/37516073-e37c0a9c-2904-11e8-990b-2889a0835209.png)

I tried with other background (red, darker grey) and it is properly failing with those.

Here is the config beeing used:
```javscript
{
'id': 'component',
'viewports': [
{
'name': 'desktop',
'width': 1200,
'height': 1240
}
],
'scenarios': [
{
'label': `${name}-examples-${theme}`,
'url': url,
'selectors': selectors,
'hideSelectors': [],
'removeSelectors': [],
'delay': 500,
'misMatchThreshold': 0.00
}
],
'paths': {
'bitmaps_reference': 'visual-tests/screenshots/reference',
'bitmaps_test': 'visual-tests/screenshots/test',
'html_report': 'visual-tests/reports/html',
'ci_report': 'visual-tests/reports/ci'
},
'openReport': false,
'engine': 'chrome',
'report': ['browser', 'CI'],
'debug': false
}
```

Please let me know if you need more information.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.