codeceptjs / codeceptjs/codeceptjs-resemblehelper

Screenshot comparison is not working

Open
#115 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
27
Forks
55
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/25933070/185935800-c0098a03-53b3-414f-8449-fef63f05644d.png)

![searchField-ja-JP](https://user-images.githubusercontent.com/25933070/185934781-4bf12ede-4990-4157-a458-e770faae336c.png)

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.