Why this is tricky

This report takes a random 2–6 seconds to load — a different amount every single run, on purpose. A test with a hardcoded sleep(3) will pass about half the time and fail the other half, for reasons that have nothing to do with a real bug. The fix is an explicit, condition-based wait: poll for the loaded state itself, not a fixed clock.

Not loaded.

Initial state.