Skip to content

Conversation

kevin-zou
Copy link

The second example for pattern matching in the docs for cy.intercept() doesn't actually use regex for the method field. When using this example in a test, the intended behaviour (PUT or PATCH requests being intercepted) doesn't happen.

This PR makes a slight alteration to the docs to provide an accurate and working example. From a quick glance this seems to be the only occurrence in this file, but happy to have others added if found!

@netlify
Copy link

netlify bot commented Mar 30, 2023

👷 Deploy request for cypress-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit def661a

@CLAassistant
Copy link

CLAassistant commented Mar 30, 2023

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants