Re-post: How to Test Your Frontend with the Cypress.io Framework
Modern JavaScript frameworks present an easier and more organized way to create web applications. However, they also add complexity that sometimes breaks things in a subtle yet impactful way.
To combat this and ensure we don’t introduce more bugs than we fix, we can turn to automated frontend testing. The best form of automated tests? Running through the interface as a real user would, clicking on buttons and filling out forms.
Today I’m going to introduce you to testing with Cypress.io — a modern, frontend-centric testing framework. But first, a bit of history!