Add a full-page visual snapshot
Hard120 pts
- toHaveScreenshot
- Visual Regression
- fullPage
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
Perform full-page visual regression comparison against a baseline snapshot.
Your Task
- 1Navigate to the store home page.
- 2Assert that #page-title is visible.
- 3Capture and assert a full-page visual screenshot comparison.
Validation Checks
- Asserts visual screenshot comparison with fullPage enabled
- #page-title is visible
- At least 1 assertion passes
Playwright · Playwright Practice Track · Visual & accessibility