Write your first end-to-end test
Easy30 pts
- End-to-End Flow
- User Actions
- Auto-waiting
Practice app · TargetQA Practice Store
A small storefront landing page for browser setup, navigation, titles, URLs and screenshots.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Execute a full user navigation journey: start at the store homepage, click 'Shop now', and verify the products catalog opens.
Your Task
- 1Open the practice store at TEST_URL.
- 2Click the 'Shop now' call-to-action button
#cta-shop. - 3Assert that the route indicator
#current-routedisplays '/products'. - 4Assert that the products catalog section
#products-sectionis visible.
Validation Checks
- The test clicks #cta-shop
- Route indicator displays '/products'
- #products-section is visible
- At least 2 assertions pass
Playwright · Playwright Practice Track · Setup & first test