How To Write End-to-End Tests in Node.js Using Puppeteer and Jest
End-to-end testing (e2e for short) is a process in which the entire lifecycle of an application is tested from a user’s perspective in a production-like scenario. In this tutorial, you will write an e2e test in Node.js that validates that the account creation and login features of a sample web page, using Puppeteer to crawl the site and Jest to make unit tests.