Switch seasons in the title details dialog
Easy30 pts~2 min
- Modals
- Dropdowns
- Lists
- Assertions
Practice app · StreamFlix
A dark-themed streaming service: sign-in, a “Who's watching?” picker with a PIN-locked Kids profile, paged browse carousels with hover cards, title details with seasons, debounced search, My List, a video player with shortcuts and a Skip intro button, a trailer iframe and plan selection.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Open the details dialog for the featured series Northbound Signal, switch to Season 2, and verify its episode list.
Your task
- 1Open TEST_URL. You are signed in as Maya on the browse page.
- 2Click “More info” on the billboard (#hero-more-info) and wait for the dialog #title-modal.
- 3Select Season 2 in #season-select (value 2).
- 4Assert #episode-list shows 8 episodes ([data-testid="episode-row"]) and the first is “Dead Air”.
- 5Leave the dialog open.
Acceptance criteria
- The details dialog is open.
- Season 2 is selected.
- Eight Season 2 episodes are listed, starting with “Dead Air”.
- The test makes at least two assertions.
Fixtures
- viewer@streamflix.test
- Password
- Stream@2026
- Profiles
- Maya · Leo · Kids (PIN locked)
- Kids PIN
- 2580
- Plans
- Basic $7.99 · Standard $15.49 (current) · Premium $22.99 per month
- Featured series
- Northbound Signal (3 seasons: 6, 8 and 4 episodes)
Playwright · Playwright Challenges · StreamFlix