Cypress error

CypressError: cy.wait() timed out waiting for the 1st request to the route: `@getUsers`. No request ever occurred.

The alias cy.wait() is looking for never fired, so check for a typo between the intercept and the wait, or a request-order race.

Why this happens

How to fix it

  1. Move `cy.intercept()` calls into a `beforeEach`, or place them immediately before `cy.visit()` and the triggering action
  2. Double-check the alias string spelling matches exactly on both ends