In this tutorial, we’ll be using Cypress to write End to End tests for the app that was built as a part of How to Build a CMS-powered Marketing Website while Avoiding WordPress. An online demo is hosted at ZEIT Now and the code for this tutorial is available on Github. If you’re looking for the code of the hosted demo, you can also find it on GitHub.
Writing tests for your app is really necessary as it gives you the confidence to ship features faster. It essentially helps you remove critical bugs from your product. Writing End to End tests ensures that you test your app how a real user would. End to End tests also give you the confidence that both your backend and frontend are working as expected.
#node-js #reactjs