Sign in, search and save a title to My List
- End-to-end flows
- Authentication
- Explicit waits
- Hover
- Assertions
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
Automate a full viewer journey: sign in, pick Maya's profile, search for Quiet Orbit, add it to My List from its hover card, and verify My List.
Your Task
- 1Open TEST_URL and sign in with viewer@streamflix.test / Stream@2026 (#signin-email, #signin-password, #signin-submit).
- 2On “Who's watching?”, choose Maya (#profile-maya) and assert #current-profile shows Maya.
- 3Open search (#nav-search), type “quiet orbit” into #search-input and wait for the result card ([data-testid="search-result"][data-title-id="quiet-orbit"]).
- 4Hover the result card and click “+ My List” (.hover-mylist) in its hover card.
- 5Open My List (#nav-mylist) and assert Quiet Orbit is the only title listed.
Validation Checks
- The viewer is signed in as Maya.
- Quiet Orbit was found through search and added from its hover card.
- My List contains exactly one title: Quiet Orbit.
- The test makes at least three assertions along the journey.
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)
Cloud Execution & Grading Guide
This Hard Playwright Challenges exercise runs inside TargetQA's managed cloud sandbox using Playwright (TypeScript, JavaScript, Python, Java, C#). Every submission runs inside an isolated headless Chromium container with pre-synced drivers, capturing live console logs, DOM assertions, and a 720p step-by-step video replay.
- Supported stacks: TypeScript (@playwright/test) · JavaScript (@playwright/test) · Python (Playwright + pytest) · Java (Playwright for Java + JUnit 5) · C# (Playwright for .NET + NUnit)
- Zero local setup: Use the pre-declared
TEST_URLvariable so your script targets the live StreamFlix sandbox reliably without hardcoding hosts. - Automated grading: Click Run to inspect step logs and behavior, then click Submit to validate all 4 acceptance checks and earn 100 points.
Playwright · Playwright Challenges Practice Track · StreamFlix