API …
Dynamic & timing

Slow resources

Images and API calls with a configurable delay. Practise timeouts, spinners and network interception.

Practice tasks

  • Wait for the slow image to finish loading before asserting its size.
  • Mock the slow route and make it instant.
  • Assert the loading skeleton shows first.
  • Trigger a timeout by setting a delay longer than your test timeout.

More Dynamic & timing practice