menu_book Course Curriculum (Astro) expand_more
Components
Pages & Routing
Layouts & Content
Styling
Islands
Data & Server
Rendering
End-to-end test
Learn End-to-end test in Astro with a dedicated explanation, topic-specific example, edge guidance, and mastery check.
12 min read
•
Advanced
Advertisement
astro-078.astro
astro
test("checkout",async({page})=>{await page.goto("/checkout"); await expect(page.getByRole("heading",{name:"Checkout"})).toBeVisible();});
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content