-
Notifications
You must be signed in to change notification settings - Fork 39
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
Question: ignore antialiasing #45
Comments
Awesome. Thanks for the feedback. I'm happy to hear that it helps you :)
Yeah, lol seems that I already prepared the comparison for this, but forgot to make it configurable... Just looked over their docs & code and it seems that we can just use a single option of these at a time. So we can intruduce another option like the But we need a name for that... no idea at the moment. |
@zinserjan thanks for the quick reply! Well the guys from @Huddle call it "comparison method". =) |
Using "ignore antialiasing" seems to be a bit risky... Check this issue: https://github.com/Huddle/PhantomCSS/issues/67 I'm having an issue where tests fail due to antialiasing, because I'm running the tests on browserstack (i.e. many different machines).. I was considering to use my fork of this repo, and just hard code "ignore antialiasing" for now (due to time constraints).. But I'm a bit afraid of activating it due to the issue above. I don't want to risk to get passing tests while they're actually failing (i.e. false negatives, because it didn't find a mismatch) |
A lifesaver for us =) |
First, let me thank you for the effort you put into this!
Your work make my work much easier and even fun! =)
So, as I understand node-resemble-js is being used to do the comparison. I looked at the docs from them and I am trying to figure out how I can turn
ignore antialiasing
on.This is how the
visualRegression
part of mywdio.conf.js
file:The
compareImages: 'antialiasing'
seems to be doing nothing. Is it possible to pass this parameter to node-resemble-js ?Thanks for your help!
The text was updated successfully, but these errors were encountered: