End-to-End Test
Like a real user, create an itinerary from the travel home page, save it, reopen it, and confirm the confirmation page shows that same trip.
Like a real user, create an itinerary from the travel home page, save it, reopen it, and confirm the confirmation page shows that same trip.
trip.local/hangzhouWest Lake · Longjing · Art Museum
↳One browser operates from the user entry to a confirmation number across the real page, API, and data path.
Start at the user entry point: The test clicks, types, navigates, and reaches a final page, giving repeatable evidence for the real critical path. It fits registration, pre-payment confirmation, and content creation.
Keep journeys few and representative: Full journeys are slower and depend more on environments, so cover essential success and high-risk failure paths first. Unit and integration tests still locate detailed rules faster.
Add an E2E test for a trip booking: fill and save an itinerary in a browser, then reopen the confirmation page and verify that itinerary remains. After it passes, tell me which pages it visited and the final result it saw.
Build in 3D. Put your computer to work.