diff --git a/docs/api/commands/intercept.mdx b/docs/api/commands/intercept.mdx index 9420506bd2..2c18f33ebb 100644 --- a/docs/api/commands/intercept.mdx +++ b/docs/api/commands/intercept.mdx @@ -254,7 +254,7 @@ cy.intercept( // this example will cause 1 request to `/temporary-error` // to receive a network error and subsequent requests will // not match this `RouteMatcher` -cy.intercept('/temporary-error', { times: 1 }, { forceNetworkError: true }) +cy.intercept({ url: '/temporary-error', times: 1 }, { forceNetworkError: true }) ``` ### Pattern Matching