https://cypress.io logo
Hi guys, i'm trying test a login form, and I want ...
# e2e-testing
n
Hi guys, i'm trying test a login form, and I want to trigger a request and return an error 40X in the first time to show a two factor activation code input and after trigger a new request to same endpoint and return statusCode 20X to pass the authentication. I can do this? Like cy.intercept().first() or anything like this?