Our great sponsors
-
Playwright
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Nope! Works just fine with @xstate/test. You write a test model with it and perform your actions/asserstions via the view, or you can test against the machine directly but then you aren't testing the view. It's something that I haven't had enough experience to explore properly but we have one semi-complex UI component written with xstate-tree tested using @xstate/test in that fashion. I've also written all the E2E tests for our Electron desktop app with @xstate/test driving Playwright. Though for that I wrote a layer ontop of @xstate/test that allows you to group the model into "Zones" representing a specific portion of the UI so you don't have to deal with a single large test model.