API …
Dynamic & timing

Progress bars & polling

Background jobs with real polling, progress bars, retry with back-off and a live counter.

Practice tasks

  • Start the job and wait for the progress bar to reach aria-valuenow=100.
  • Wait for the status text “Job finished” without any fixed sleeps.
  • Intercept GET /api/jobs/* and force the response to done to skip the wait.
  • Press Retry with back-off and assert the attempt number reaches 3.
  • Pause and resume the polling counter and assert it stops changing.

More Dynamic & timing practice