Report Export Finishes Late Under Load
Med.DashboardsWaiting
Mission
- Incident
Long-running exports create false negatives fast if tests confuse animation timing with product readiness
- Goal
Trigger the export action, observe the running lifecycle, and verify the final done state without fixed sleeps
- Pass condition
Use the real export action and wait on state transitions
What counts
- Use the real export action and wait on state transitions
- idle before triggering export
- running during processing
Constraints1 rules + 1 mutation note
Rules
- Do not gate on spinner visibility duration alone
Mutation
- Processing timeline can re-order internally without changing lifecycle contract
Hint 1
• Action: Use the real export action and wait on state transitions. • Assertion: Assert idle before triggering export.
Hint 2
• Assertion: Assert running during processing.
Hint 3
• Assertion: Assert done only after settlement.
