My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
How to write End to End tests for apps built with Next.js

How to write End to End tests for apps built with Next.js

Jake Lumetta's photo
Jake Lumetta
·Jun 6, 2019

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 Netlify 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.

To read the rest click here.