Use the test generator (codegen)
Easy30 pts
- Codegen
- Navigation
- Semantic Locators
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
Replicate a recorded codegen flow that navigates to the 'About' page and validates the about section using user-facing locators.
Your Task
- 1Open the practice store at TEST_URL.
- 2Click the 'About' navigation link
#nav-aboutusing a user-facing role locator or ID. - 3Assert that the about section
#about-sectionis visible. - 4Assert that the route indicator
#current-routedisplays '/about'.
Validation Checks
- Navigates to the About section
- #about-section is visible
- #current-route displays '/about'
- At least 2 assertions pass
Playwright · Playwright Practice Track · Setup & first test