Interception of cancelled request #24928
Unanswered
NavyMint
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, all.
Guys can you please suggest, is it possible to intercept cancelled request and assert the result (I want to ensure that its cancelled)?
cy.intercept('GET', '/anyRoute').as('requestAlias');
cy.wait('@requestAlias').((response) => {
console.log(reponse);
}));
when Im trying to execute test it hangs on wait function and fails then
Beta Was this translation helpful? Give feedback.
All reactions