Skip to content

Sending Requests with Intercept? #9314

Discussion options

You must be logged in to vote

The cy.request command is NOT deprecated. You should use it to make your own API calls, like you are doing it. Additional reading: https://example.cypress.io/commands/network-requests#request and https://www.cypress.io/blog/2017/11/07/add-gui-to-your-e2e-api-tests/

The new cy.intercept command replaces cy.server + cy.route commands only

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@danreale
Comment options

Answer selected by bahmutov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants