An end-to-end (E2E) test drives the system from the outside, as a user would: opening the browser, filling the form, clicking the button, and asserting on the final screen and the final state of every downstream system. Nothing is mocked; the real frontend talks to the real backend talks to the real database.
The layer is the top of the pyramid (see test-pyramid) and the most expensive per assertion. A single E2E flow can take 30-90 seconds to run in a containerised browser; a suite of 200 flows is 1-3 hours in CI. The economic trade-off is stark: E2E catches user-visible integration bugs that nothing else catches, but every E2E test you add costs more than the unit and integration tests combined.
The tooling is stable across the 2020s: Playwright (Microsoft, 2020) has become the dominant modern choice; Cypress (2015) remains strong for component-style E2E; Selenium (2004) is legacy but still in production at scale. Each has trade-offs, but the layer's semantics are the same: drive the real browser, assert on the real UI.