Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress.Cookies.defaults was removed #129

Open
shibukawa opened this issue Jan 6, 2023 · 2 comments
Open

Cypress.Cookies.defaults was removed #129

shibukawa opened this issue Jan 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@shibukawa
Copy link

Hi,

README uses the following code snippet, but these API was removed when the latest Cypress v12 was releeased:

        Cypress.Cookies.defaults({
          preserve: cookieName
        })

cypress-io/cypress#21472

Official document says, use cy.session instead of old APIs. Could you updatge README?

@shibukawa
Copy link
Author

@lirantal
Copy link
Owner

lirantal commented Jan 6, 2023

Thanks for the heads up @shibukawa.
If you want to shoot out a PR that helps solve it and migrate the APIs I'd be happy to merge it.

@lirantal lirantal added the bug Something isn't working label Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants