https://cypress.io logo
How can I properly stub an API request with cy.int...
# i-need-help
s
I am having trouble on stubbing the API requests in my test.
e
What do you have, and what is the problem?
g
My paid course https://cypress.tips/courses/network-testing teaches you all there is to know about spying, stubbing, making network calls ,etc
e
You should have an a la carte option for those videos.
r
@steep-country-21216 what problem are you running into? Do you have a sample? The intercept docs have a lot of examples if you haven't tried there give them a look: https://docs.cypress.io/api/commands/intercept
7 Views