Objective
What to automate
Run the controlled fault, mock the next ticket request, and assert the recovery message.
Preconditions and test data
Preconditions
- Use a fresh isolated Practice Lab browser context.
- Open the fixture identified by FX-RT-001.
Test data
scenario: faultfault: labelled local 503
Expected result
Controlled 503 response is followed by Controlled fault recovered after one explicit poll.
Progressive hints
Hint 1
Choose Recover from a controlled 503.
Hint 2
Assert the fault event before invoking the recovery step.
Hint 3
Route the existing tickets GET call and verify no automatic retry occurs.
I’ve tried it — show solution
- Choose Recover from a controlled 503.
- Assert the fault event before invoking the recovery step.
- Route the existing tickets GET call and verify no automatic retry occurs.
The deliberately failing starter is in tests/realtime-updates.spec.ts inside the TypeScript starter ZIP.