Show HN: Lost Pixel – open-source visual regression testing for your frontend (github.com)
Hey! My name is Dima, I am from Ukraine and I am the co-founder of Lost Pixel! We built this tool to solve our problems at work and decided to open-source it so more people can build their custom visual regression testing pipelines! If you want to chat about the tool or visual regression testing in general I am super excited to meet like-minded people! Thanks a lot for checking out the product and I hope it will serve you well if you decide to try it out :D
15 comments
[ 1.6 ms ] story [ 45.7 ms ] threadWish you luck with the project.
So far all tools I have used like this suffer from "false positives" like this (it's a true positive technically of course, but likely false from an engineering perspective).
1. Grayscaling browser before screenshot 2. Using custom diffing engines that enable for ignoring regions like odiff 3. Trying to be smart and analyzing images with machine learning to identify how meaningful the difference is (moonshot but worth exploring)
Our approach to this in general is that if false positive like this happens we can just batch approve all the differences and be ok with that as it was a subtle rendering change not dependent on us or our direct third party dependencies.
Their system has a way to demarcate volatile sections.
It might be nice to add a comparison to your otherwise excellent documentation.
1. allowing visual regression testing integration in any part of your flow(locally for free, paid on the platform) with any need for visual testing(stories, pages, components, cypress, playwright). Chromatic is focused on building upon their fundament - storybook. 2. making it affordable. Everybody agrees to one thing - the prices to visual tests are bonkers when it comes to SaaS. We embraced the fact that people want flexible and cheap as much as they want fast and expensive. We will allow to run actual engine on your premises making our pricing significantly cheaper, we will allow storing images on your side which will again make it ridiculously cheap for you as you won't be paying markup that we otherwise could induce on those things. 3. not being protective of our codebase for core part of the offer. We want community to build the top-notch visual regression testing engine with us to serve the community!
Hope it sheds some light into bigger picture, otherwise Chris & I will definitely add the table for comparison with Chromatic & Percy. this is very legit point, thank you!