-
Spike
-
Resolution: Done
-
Major
-
None
-
None
-
None
We are currently running Cypress v8.5.0, which is over two years old (the latest version of Cypress is v12.17.1), so we should upgrade to a newer version to stay current; however, we need to mindful of the fact that plugins are also dependent on the Cypress version and we will likely need to coordinate with the plugin developers to ensure their tests are compatible with the newer version before we deploy a newer version.
Additionally, there is a specific issue where v8.5.0, latest Chrome, and Apple Silicon results in the tests not successfully running (timeouts occur because the tests run so slowly). The workaround is to use Firefox or Electron on Apple Silicon.
Upgrades between major version always carry breaking API changes. There is a migration guide for migrating to v12. Since we are on version 8.5.0 we should evaluate if its more suitable for us to upgrade in one step. Other option is to upgrade in multiple steps. An upgrade guide for upgrade from v9 to v12 is available, in which case we would need to first upgrade from v8 to v9 and them to v12.
AC:
- Determine if its more suitable for console repo to upgrade Cypress in a single steps or in multiple steps.
- Create a followup stories which will address upgrading Cypress to v12
- split to
-
CONSOLE-3740 Upgrade Cypress
- Closed
-
CONSOLE-3741 Upgrade Cypress to latest version
- Closed
-
CONSOLE-3742 Consider switching Cypress from Chrome to Electron
- Closed