Objective
What to automate
Open the refresh scenario, run one explicit poll, and assert the first ordered event.
Preconditions and test data
Preconditions
- Use a fresh isolated Practice Lab browser context.
- Open the fixture identified by FX-RT-001.
Test data
scenario: refreshpoll endpoint: tickets?limit=1&sort=id
Expected result
Ticket snapshot refreshed appears, and the poll counter is exactly 1.
Progressive hints
Hint 1
Open the route with ?scenario=refresh.
Hint 2
Use the Run next poll button by accessible name.
Hint 3
Assert both the event-log row and the visible poll count.
I’ve tried it — show solution
- Open the route with ?scenario=refresh.
- Use the Run next poll button by accessible name.
- Assert both the event-log row and the visible poll count.
The deliberately failing starter is in tests/realtime-updates.spec.ts inside the TypeScript starter ZIP.