I have two images that are identical except for their colors, one is black and white, while the other is red and white. I was expecting this test to pass:
Scenario: Compare baseline and actual images with compareImage
* def params =
"""
{
baseline: 'baseline.png',
latest: 'latest.png',
options: {
ignoreColors: true
}
}
"""
* compareImage params
However, it fails with an error telling me my latest image differed from my baseline by more than an allowable threshold of 0.0% (default). Furthermore, in the HTML report, when I click the "Show config" button in the imbedded image comparison results, all that shows is an empty object { }.
I tried using options: { ignore: 'colors' } } as well -- same result.
