DEV Community

Making E2E testing easy with Cypress

Marcus Stamström on April 28, 2019

Cypress: Making E2E testing easy Cypress is an awesome E2E testing framework made to be consistent, fast and easy to use. It is built ...
Collapse
 
trendschau profile image
Sebastian Schürmanns

Thank you for this introduction! After reading it I finally started to test my application with Cypress (had it on my list for month). Indeed, cypress is super easy and it took me only some hours to get my first test-cases up and running :)

Collapse
 
mstamstrom profile image
Marcus Stamström

Thank you!!
Great that you got started with Cypress, it really makes E2E testing easy 😊

Collapse
 
vladimirbag profile image
vladimirbag

Hi!
Nice article.
However, Cypress has lots of limitations, for instance, you can't upload or download files, no multiple tabs or iframes support. While Cypress is a good tool for components testing, for general end 2 end tests I prefer Puppeteer from Google Chrome. I also use CodeceptJS which has a very simple syntax and brings cypress-like experience to Puppeteer.

Collapse
 
mstamstrom profile image
Marcus Stamström

Hi and thank you for the read!

Cypress is still quite new and hasn’t implemented all features yet. I have tried puppeteer as well, but since it runs on top of chromium, it won’t work in for example Firefox or safari, which cypress is working towards fixing. Also found it easier to make test suits with cypress then with puppeteer. But both are good frameworks for sure!!

Collapse
 
vladimirbag profile image
vladimirbag

Puppeteer already supports firefox, and over the support of safari and firefox in Cypress will butt for years. Still, the Puppeteer is made by Google, and therefore the level of integration with browsers and the team there is much better.