Run tests headed and in UI mode
Easy30 pts
- Viewport
- Headed/Headless
- UI Mode
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
Configure viewport dimensions (1280 × 720) and verify responsive rendering in headed and UI execution modes.
Your Task
- 1Set the browser viewport size to 1280 × 720.
- 2Open the practice store at TEST_URL.
- 3Assert that the viewport indicator
#viewport-sizedisplays '1280 × 720'.
Validation Checks
- The page opens at 1280x720
- #viewport-size displays '1280 × 720'
- At least 1 assertion passes
Playwright · Playwright Practice Track · Setup & first test