5 ms·
Having worked as both a dedicated tester and a software developer, I've gotta say that Cypress was leaps and bounds above the alternatives before it, but nowada
by chrysoprace 4y ago
Having worked as both a dedicated tester and a software developer, I've gotta say that Cypress was leaps and bounds above the alternatives before it, but nowadays Playwright is just better. Because Cypress runs in a browser context, it's very awkward to import Node modules and other reusable code where as Playwright makes it a breeze because it runs on the Node context (with ESM and TypeScript support natively).
If you're considering Cypress for test automation, I would really suggest giving Playwright a go. It fixed many of the pain points I had with Cypress. Even just tabbing in Cypress requires a plugin, where as it's supported natively in Playwright.
- nsonha 4y agoback when I was doing FE, I found https://codecept.io https://codecept.io, which is the same concept as Cypress but with a Playwright driver. Have not used but thought it's worth a mention
- thevagrant 4y agoLooks useful considering it supports other drivers such as web driver. I was considering cypress recently and now playwright but having the ability to utilize other systems (if one loses favor) seems nice.
- pragmatic 4y agoRunning in the browser is a feature. The endless polyfilling to make a node env removes some of the before of the test imo.