End-to-end testing with Playwright

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:

9 Likes

Nice, we love playwright! Check out the Babylon.js playwright config :slight_smile:

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 :laughing: That’s why I started from scratch to understand how it works ^^

1 Like

Really cool. Thanks for sharing

1 Like