-
Notifications
You must be signed in to change notification settings - Fork 54
OS specific resemblejs tolerance issues #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @flosch-hb thanks for the questions, I am extremely sorry I was occupied with some load.
|
Hi @puneet0191, (sorry for the nicknames confusion, I stopped using No problem, thanks for your answers!
I am not sure if I can download the images from bitbucket pipelines (the CI/CD system we used in my project), but I can try to setup a repository to reproduce it? Regarding 2-, I would be happy to contribute :) However I am new to both Resemble and Codecept itself, and have only used Puppeteer as a driver so far... So I would need some guidance on the different concepts (Codecept helpers, Resemble etc.), for instance:
|
…fig (#65) Co-authored-by: Jonatas Kirsch <[email protected]>
* Issue #60 - Prepare all baselines of test by setting parameter in config (#65) Co-authored-by: Jonatas Kirsch <[email protected]> * Update Dependecies, Fix Fatal Error with mkdirp and Mac (#66) * Update Dependencies * Fix Error on Mac * Avoid failing the test for a given threshold but yet generating the difference image (#63) * Option bypassFailure allowing the user to avoid failing the test for a given threshold but yet generating the difference image * Renamed option to skipFailure Co-authored-by: Jonatas Kirsch <[email protected]> * feat(testcafe): add the support for testcafe (#62) * passing through output settings to resemble.js (#59) Co-authored-by: JANK Michael <[email protected]> * Issue 48 - Add custom assert message (#64) Co-authored-by: Jonatas Kirsch <[email protected]> Co-authored-by: Jonatas Kirsch <[email protected]> Co-authored-by: Jonatas Kirsch <[email protected]> Co-authored-by: Guillaume Camus <[email protected]> Co-authored-by: yankydoo <[email protected]> Co-authored-by: JANK Michael <[email protected]>
Hi @flo-sch, having the same issue here. For what's worth one of the causes is that Webdriver saveScreenShot command seems to save the image with different dimensions on mac compared to linux, even when setting the same window size. Adding a .scaleToSameSize() command on resemble comparison should help here. |
Also have the same issue with my local mac env vs gitlab CI linux env. We ended up dockerising the local testing environment to ensure it's running with the same environment. Only downside is it's a bit slower then running it directly. Anyone got any further thoughts on a solution here? |
What are you trying to achieve?
Hello, first thanks a million for this great helper! It makes my life easier :)
I am experimenting Visual Testing based on resemblejs, and I face a strange issue:
The tests pass when I run them locally on the computer that originally created the screenshot (Mac OS), weather HEADLESS is on or off.
However, some tests fail from a CI pipeline (bitbucket pipelines) based on Linux (HEADLESS).
I have 2 main questions:
What do you get instead?
Details
[email protected]
&[email protected]
12.14.0
OS X 10.15.3
vshttps://hub.docker.com/_/amazonlinux/
[email protected]
The text was updated successfully, but these errors were encountered: