I have registered cy.intercept() way before the API call. When I wait using cy.wait() on that API, It never gets stubbed and then I get timeout error.

In the above image we can see, log intercept, then waiting for the API, even after the api is called after some time, wait gets failed.
Cypress Version - 10.6.0