Go ProSign in
End to End Testing with Google's Puppeteer and Jest
Tyler ClarkTyler Clark
ClockIcon34:20
puppeteerPuppeteer
jestJest
javascriptJavaScript

End to end testing involves assuring that all the integrated pieces of an application function and work together as expected. These types of tests simulate real user scenarios, essentially testing how a real user would use the application. They fill the gaps that unit and integration tests just can't cover.

Puppeteer is a core piece of these tools. When used correctly it can open and run applications inside a chromium browser and perform the actions it's given. Jest is used to assert that the integrated pieces work as expected and other add-on libraries such as faker and pixelmatch, take our tests to the next level.

In this course, we will create common application features and run different types of tests against them. These tests will include rendering the content and measuring the overall performance, automation, and mimicking user activity.