You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Upgrade cypress to 13.0.0 (or latest version at the time of working on this)
Upgrade @10up/cypress-wp-utils to 0.2.0
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
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Note that our E2E tests are failing right now due to the need to upgrade Cypress.
Our @10up/cypress-wp-utils package is used here but we don't load a versioned release, we load from the build branch. This loads the latest version which runs on a newer version of Cypress and conflicts with the version of Cypress we are using. So this is an ideal task for someone to pick up as it helps get our tests running properly again.
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
The text was updated successfully, but these errors were encountered: