1 Auto-load on render

data-testid="autoload-spinner" β†’ "autoload-list"

Items fetch automatically when the page loads (800 ms simulated delay). Wait for [data-testid="item-card"] to appear.

2 Load more

data-testid="load-more-btn"

Click the button to append the next page of items (600 ms delay). Tests waitForSelector after a user interaction.

4 Configurable delay

GET /api/items?delay=N

Control server response latency (0–5 000 ms) to test loading states, timeout logic, and retry behaviour.