Cypress error

CypressError: Timed out retrying after 5000ms: cy.wait() timed out waiting for the 1st request to the route

The aliased request your test is waiting on never fired, usually because of a URL/method mismatch or a timing issue in the intercept setup.

Why this happens

How to fix it

  1. Set up `cy.intercept()` before the action that triggers the request, not after
  2. Log real network calls (`cy.intercept('**', (req) => cy.log(req.method, req.url))`) to confirm the actual URL/method
  3. Fix the glob or method in the intercept to match what you actually observe