What should I use instead of Cypress.Cookies.preserve and Cypress.Cookies.defaults as they are obsolete now #29024
Unanswered
mmenghnani
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I am recently upgrading my team's cypress version and I am looking for some help on how should I replace Cypress.Cookies.defaults and Cypress.cookies.preserve.
the current usage looks something like this
Cypress.Cookies.preserve(
"service1",
"service2",
"service3",
);
Cypress.Cookies.defaults({
preserve: ["service1", "service2", "service3"]
})
I tried using the examples in the documentation but they dont seem to be working. Can anyone advise here please? Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions