Skip to content
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 about a feature #1574

Open
angyb opened this issue Jul 9, 2024 · 1 comment
Open

Question about a feature #1574

angyb opened this issue Jul 9, 2024 · 1 comment

Comments

@angyb
Copy link

angyb commented Jul 9, 2024

I’m looking for a VRT that will not only detect color differences, but will also allow me to set a threshold for the percentage of pixels that have changed color. Does BackstopJS do that? 


Also, is Storybook required to implement BackstopJS?


My use case: I am implementing a new color palette for my web app. I’ll be mapping our old color palette to our new one; some colors don’t have exact matches. For those colors, I’ll need to pick the closest match, which may have visual impacts I can’t predict or check instance by instance beforehand because we have thousands of pages. I want to be able to map everything and then visually see what impact the color changes have in QA. I don’t need to visually check things with significant color changes if the percentage of pixels that have changed color is low, say 2%. This would account for borders, small icons, small text, and the like; although the color change may be significant, the perception of it isn’t because the element is so small.



Thank you for taking the time to answer my question.



Angy Brooks
Lead UX Designer

@jric
Copy link

jric commented Aug 3, 2024

I think this is what misMatchThreshold config parameter does?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants