intercepts not catching cy.requests? #14631
-
|
I want to do the following:
However, it appears that the request is completed before the cy.wait() method is called, and so i can't catch the request. Here is my example code: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Yes, |
Beta Was this translation helpful? Give feedback.
-
|
Added note to clarify to |
Beta Was this translation helpful? Give feedback.
Yes,
cy.requestis a Cypress command, it executes a request that bypassedcy.routeandcy.intercepthandlers (those handlers are only for dealing with the requests sent by the app). I will update the documentation.