Skip to content

BackstopJS ignoring changes from white to light grey background #703

@pgn-vole

Description

@pgn-vole

It seems Backstop is not able to notice changes between grey and white background.
Here is a screenshot of the UI
image

Here are the test and reference snapshots:
sdk_date-picker-examples-_0_date-ranges_0_desktop_test
sdk_date-picker-examples-_0_date-ranges_0_desktop_reference

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

Here is the config beeing used:

{
    '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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions