TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Lost Pixel – open-source visual regression testing for your frontend

90 点作者 divdev_超过 2 年前
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

6 条评论

mattlondon超过 2 年前
How do you handle &quot;meaningless&quot; visual changes? E.g. chrome version change introduces super-subtle blending changes to drop-shadows, and suddenly there are huge diffs because the least significant bit of a drop-shadow&#x27;s grey colour changed. What is your approach to that?<p>So far all tools I have used like this suffer from &quot;false positives&quot; like this (it&#x27;s a true positive technically of course, but likely false from an engineering perspective).
评论 #32900337 未加载
评论 #32908405 未加载
acketon超过 2 年前
Hi Dima, this looks really good! I see examples for Storybook and Next.js. Would this work with other technologies and configurations? For instance is there a way to point it at an external dev sandbox to capture full page screenshots of an existing site... say a WordPress site or other CMS? I have a use case where I want to test full page screenshots but need the environment that is hosting a copy of the content&#x2F;database to test against, not just the components used in the pages.
评论 #32900993 未加载
fishtoaster超过 2 年前
This is very cool! I&#x27;ve found visual regression testing in CI to be one of the highest-value things I can throw into new, long-lived frontend codebase. I&#x27;ve been relying on Chromatic so far, but I&#x27;d definitely try out Lost Pixel next time I&#x27;m setting up such a project!
评论 #32901547 未加载
kilian超过 2 年前
I&#x27;ve set up visreg tests in the past and they were always slow and brittle. This looks really modern and well documented system, congrats to the team! Always running them on GitHub actions will keep the sub pixel issues at a minimum, but do you also have configurable thresholds?
评论 #32900138 未加载
Akcium超过 2 年前
I think I have already seen your project on Twitter, remember the nice gif.<p>Wish you luck with the project.
kasperg超过 2 年前
The open-source angle aside: How does Lost Pixel compare to Chromatic?<p>It might be nice to add a comparison to your otherwise excellent documentation.
评论 #32900677 未加载