DEV Community

Cover image for Testing JS End-to-End Testers: CodeceptJS + Playwright vs CypressIO

Testing JS End-to-End Testers: CodeceptJS + Playwright vs CypressIO

Tom Byrer on March 13, 2020

Why Test? If you are just writing short, quick, throwaway code, you don't need a fancy testing system. Make a quick demo or 3, put th...
Collapse
 
turnerglynnmark profile image
Mark Turner

Did you try testcafe on its own? It has browserstack (yes I know it’s not ideal, but it is the best real device supplier I found) integration. Which means it is almost as fast, I imagine like playwright, but you can do E2E tests on most real devices.
If you desire that, will depend on your user base.

Collapse
 
tombyrer profile image
Tom Byrer

I never heard thanks!
Their plugins seem helpful also:
github.com/DevExpress/testcafe#plu...

Collapse
 
turnerglynnmark profile image
Mark Turner

I’m not saying its perfect for all situations and you have to weigh up the extra run tome compared to bugs found. I’ve only found a few bugs with browserstack automation ever. Cypress when using its best practices has some really good ideas.

Collapse
 
davert profile image
davert

Thank you, very good overview and very good words for CodeceptJS
That's great that with a much smaller team we can build a product that is compatible with Cypress. I am lead developer and maintainer of CodeceptJS but I'm not alone and this product wouldn't be as awesome as it could be without our community! They also contribute and right now we work on improving our UI!

Collapse
 
tombyrer profile image
Tom Byrer

Thanks your your great service! :)

BTW, do you mean "comparable" to Cypress, eg are around the same power levels? Or maybe you are 'compatible', eg easy to swap code between, since you both use Mocha?