Hello everyone!
I wrote a small tutorial for setting up Playwright with any BabylonJS project to catch visual regressions with screenshot comparisons.
The focus is on getting the simplest setup to work, on any machine with docker:
You can get the source code of the setup here:
A minimal playwright setup for End-to-end testing of WebGL and WebGPU with screenshot comparisons.
9 Likes
Nice, we love playwright! Check out the Babylon.js playwright config
2 Likes
Yeah it’s great! I had a look at Babylon’s config and was a little scared by its complexity I must admit That’s why I started from scratch to understand how it works ^^
1 Like
Really cool. Thanks for sharing
1 Like