this combined with performance, iframe, tab support, and others is why playwright has been eating cypress' lunch
Microsoft can afford an open source testing tool whereas a VC backed Cypress must engage in enshittification
this combined with performance, iframe, tab support, and others is why playwright has been eating cypress' lunch
Microsoft can afford an open source testing tool whereas a VC backed Cypress must engage in enshittification
Microsoft can also afford to keep the tool fully free and open source until the VC funded competitor expires, at which point MS can switch things around by introducing paid options. Open Core, paid add-ons/plugins, etc.
At this point, its the only reason I use Cypress, as E2E testing via Playwright is a joy to write
is component testing from cypress really needed. the only "benefit" I see is using a single tool
RTL is great, but jsdom and similar solutions have limitations, being able to run similar tests in live browsers is really validating, in many cases allows us to cut down on writing somewhat more brittle E2E tests
The biggest win with playwright its like writing vitest / jest tests, it uses a similar `expect` function (I believe its a modified version of Jest expect but that may have changed) and I like their Pages API
The only thing I haven't used Playwright for yet is API testing
[0]: as you get more than just a DOM tree snapshot, you get the styles too. Great for catching regressions
Vitest is also adding browser support of this nature and if that hits enough maturity its all moot anyway
Both Cypress and Playwright can use vite out of the box, on the other hand. I like this, since I can use the same configuration for production for running tests (we do this to run tests against prod builds)
Its more overhead currently than I want to take on.