codeceptjs / codeceptjs-resemblehelper

MIT License
27 stars 53 forks source link

Screenshot comparison is not working #115

Open sharath2106 opened 2 years ago

sharath2106 commented 2 years ago

We are using codeceptjs-resemblehelper to perform visual regression testing for our application that supports multiple locales. We are logging in with users mapped to these locales to achieve this.

We were trying a negative scenario where we compared two search boxes of different locales.

searchField-en-GB

searchField-ja-JP

The tests are passing even though the locales are not the same. I used another screenshot for comparison to see if the screen comparison is actually working or not. It looks like only the dimensions are considered and not the contents in the screenshot which is weird.

Could you please take a look at this?