Is your enhancement related to a problem? Please describe.
Cypress 13 was recently released, and Cypress 12 contains some breaking changes as listed below. We need to update our tests to make them work with the latest version and fix any issues that may arise.
[x] Upgrade cypress to 13.0.0 (or latest version at the time of working on this)
[x] Upgrade @10up/cypress-wp-utils to 0.2.0
[x] Replace legacy API usage such as Cookies.defaults with the new replacements.
Breaking changes we need to be aware of
Cypress dropped support for Node.js 12
In Cypress 12, we enforce running tests in a clean browser context through test isolation.
The Cookies.defaults and Cookies.preserveOnce APIs have been removed. Use the new cy.session() command to preserve cookies between tests.
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Is your enhancement related to a problem? Please describe.
Cypress 13 was recently released, and Cypress 12 contains some breaking changes as listed below. We need to update our tests to make them work with the latest version and fix any issues that may arise.
cypress
to 13.0.0 (or latest version at the time of working on this)@10up/cypress-wp-utils
to 0.2.0Cookies.defaults
with the new replacements.Breaking changes we need to be aware of
Cookies.defaults
andCookies.preserveOnce
APIs have been removed. Use the new cy.session() command to preserve cookies between tests.Designs
No response
Describe alternatives you've considered
No response
Code of Conduct