Data loading takes a random amount of time (0-15 seconds) per click, causing tests with fixed timeouts to fail intermittently.
Click "Load Data" to fetch results. Each click uses a random delay between 0 and 15 seconds. A test with a fixed 5-second timeout would pass sometimes and fail other times.
No data loaded yet
Click "Load Data" to simulate a data fetch with random latencyEach load attempt is recorded below with its random delay duration.
Tests that use fixed timeouts (e.g., await page.waitForTimeout(5000)) will pass when the random delay is under 5s but fail when it exceeds 5s. This simulates real-world network latency variability.
waitForTimeout(5000) fails ~67% of the timewaitForSelector instead of fixed timeouts