Module 5 of 8
Network interception and mocking
Why: Some states are hard to reach with a real backend: a slow response, a 500, an empty list. Intercepting the network lets you test them on demand.
Lessons
- page.route: stub the backend (20 min) - intermediate
- Errors, timeouts and empty states (20 min) - intermediate
- Record and replay with HAR (15 min) - intermediate
- Quiz: Network interception and mocking (10 min) - intermediate