


Techopedia gives a good definition of end-to-end testing:Įnd-to-end testing is a methodology used to test whether the flow of an application is performing as designed from start to finish. What is end-to-end testing & why is it important?Įnd to end tests make up the smallest part of the testing pyramid, as defined by Google, but they are still a crucial part of it.īefore I dive into how to use Puppeteer for end-to-end testing, I think it’s important to briefly explain what it is and why it’s important for web development today. I’d looked briefly into Puppeteer in the past, but since I couldn’t find any great examples of how to get started with it, I’d passed and chosen to use Cypress.io for my testing needs instead.Īfter the talk though, I was inspired to give Puppeteer another shot and I went a step further, figuring out how to run Puppeteer and how to use it with Jest, the testing framework most commonly associated with React.Īnd I want to share that today to hopefully help others get started with their own application testing suites. The speaker, Taylor Krusen, gave a great talk on Puppeteer and headless Chrome and using them together to take end-to-end testing to the next level.

This blog post was inspired by a talk I saw at the Connect.Tech Conference in Atlanta this year, entitled: "Using Puppeteer to Write End-to-End Tests That Run On The Browser."
