Playwright error

locator.click: Timeout 30000ms exceeded

The element never became actionable (visible, enabled, stable, receiving events) within Playwright's default 30s action timeout.

Why this happens

How to fix it

  1. Run with `npx playwright test --debug` to step through and see exactly what Playwright is waiting on
  2. Open the trace (`npx playwright show-trace`): the action log shows the specific 'waiting for' condition that never resolved
  3. Fix the underlying block (dismiss the overlay, wait for the spinner to detach) rather than just raising the timeout
  4. Only as a last resort, extend the action's own timeout: `await locator.click({ timeout: 60000 })`