Cypress · Senior · Question 57 of 76
How should network-heavy dashboards be tested to stay fast?
- 1Wait for all charts to load from production each time
- 2Test dashboards only manually
- 3Stub most data calls with fixtures and test real calls separately
Show the answer
Correct answer: Stub most data calls with fixtures and test real calls separately
Explanation
Fixture-driven tests cover rendering states; a few integration tests ensure the real API wiring works.