Cypress and @playwright/test are two competing integration testing frameworks. We have been using Cypress for a long time but recently made a decision to migrate our Cypress tests to Playwright, all 400 of them. It is absolutely worth it for the speed and reliability gains (a future post)… However, it meant a lot of manual work! Or so I thought…
Press enter or click to view image in full size
Left: Cypress, Right: Playwright. There are a lot of structural similarities between how both tests are written.
Founder, engineer interested in JavaScript, PostgreSQL and DevOps. Follow me on Twitter for outbursts about startups & engineering. https://twitter.com/kuizinas