Dynamic & timing
Type-ahead & races
A search box where slow, older responses can overwrite newer ones. Debounce, cancel, and wait correctly.
Practice tasks
- Type “playwright” with pressSequentially and wait for exactly one suggestion list.
- Switch to the Naive mode and reproduce the stale-results race with a fast typist.
- Switch to the Safe mode and prove the final list always matches the final query.
- Wait for the /api/search response for the last query using waitForResponse.
- Assert the loading hint appears and disappears around each request.