Run a single test and a single file
Easy30 pts
- test.only
- Test filtering
- Assertions
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
Isolate a specific test case validating that the hero banner renders expected promotional content.
Your Task
- 1Open the practice store at TEST_URL.
- 2Locate the promotional hero banner
#hero-banner. - 3Assert that
#hero-banneris visible. - 4Assert that
#hero-bannercontains the promotional headline 'Welcome to the practice store'.
Validation Checks
- #hero-banner is visible
- #hero-banner contains 'Welcome to the practice store'
- At least 2 assertions pass
Playwright · Playwright Practice Track · Setup & first test