https://cypress.io logo
That's not really what `intercept()` is intended t...
# e2e-testing
f
That's not really what
intercept()
is intended to do. I suggest you have something like this in your test body:
Copy code
// Or whatever action you're doing
cy.get('#submit').click()
cy.get("#message").should("equal", "Request sent");
cy.wait('@apiSomething');
cy.get("#message").should("equal", "Request received");