diff --git a/docs/docs/guides/testing/testing-with-cypress.md b/docs/docs/guides/testing/testing-with-cypress.md index 132c65a8d9..55cab91072 100644 --- a/docs/docs/guides/testing/testing-with-cypress.md +++ b/docs/docs/guides/testing/testing-with-cypress.md @@ -110,10 +110,6 @@ describe("Login page", () => { secure: cookie.secure, }) - Cypress.Cookies.defaults({ - preserve: cookieName, - }) - // remove the two lines below if you need to stay logged in // for your remaining tests cy.visit("/api/auth/signout")