10up / safe-redirect-manager

A simple HTTP redirection plugin for WordPress.
https://wordpress.org/plugins/safe-redirect-manager
GNU General Public License v2.0
314 stars 82 forks source link

Upgrade Cypress to version 13 #347

Closed iamdharmesh closed 1 year ago

iamdharmesh commented 1 year ago

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.

Breaking changes we need to be aware of

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

dkotter commented 1 year ago

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.

iamdharmesh commented 1 year ago

Tests are failing due to Cypress 13 upgrade in https://github.com/10up/safe-redirect-manager/pull/343, as e2e tests still using removed cookies API. Raised #349 to fix this.