Replies: 3 comments 2 replies
-
I like the idea, I think if visual regression testing becomes a common ask from customers than using helix bot would be a nice experience. Worth noting that if customers really need this and they use storybook then they can use Chromatic today with Franklin.. For example, it would only be a couple lines of code to get visual regression testing on Rosalind which is setup with storybook for blocks and templates. |
Beta Was this translation helpful? Give feedback.
-
I created a simple PoC, see PR. It compares a list of paths, and also fetches a list of indexes to get more paths. Here is an example output after comparing 34 paths: https://github.com/hlxsites/vg-volvotrucks-us/pull/412#issuecomment-1536944669 See also hlxsites/24life#198 |
Beta Was this translation helpful? Give feedback.
-
We are using a variant of the playwright based visual tests suggested by @synox above for a customer project and it is working reasonable well for us. Though couple of feedback points:
|
Beta Was this translation helpful? Give feedback.
-
Story
As a developer, I want to be sure that my PR does not break anything major on an unrelated page.
Idea
When a Pull Request created, a bot automatically compares the
main
with thebranch
rendering of each page based on a list of the most important pages and the block library.There is no need for storing historical screenshots, as we can load the main and branch pages at any time and directly compare them.
Block the PR until all the checkboxes are checked.
How
Ideally, an existing solution can be customized to fit this need. Or Playwright and Github actions can be used to compare screenshots.
Beta Was this translation helpful? Give feedback.
All reactions