Testing and quality · Concept

End-to-end tests

Tests that drive the real app in a real browser the way a user would, clicking, typing and checking what appears on the screen.

Kinds of tests · updated

How it works

An end-to-end test opens the site, signs up with a test account, adds a product to the cart and checks that the order confirmation appears. Because it exercises the frontend, backend, database and outside services together, a passing run is strong evidence that the whole journey works. Playwright and Cypress are the usual tools; Puppeteer suits lighter automation.

They are the slowest and most fragile layer: timing, test data and third-party services can make a test fail now and then for no real reason (a flaky test). Teams keep them to the critical journeys, such as sign-in, checkout and payments, run them against a preview or staging deployment in CI, and use traces, screenshots and videos to debug failures.

End-to-end tests vs the alternatives

More in Testing and quality

Kinds of tests

All 10 Testing and quality terms

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.