Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3716

Determine upgrade strategy for Cypress v12

    XMLWordPrintable

Details

    • Spike
    • Resolution: Done
    • Major
    • None
    • None
    • Tests
    • None
    • HAC Infra OCP - Sprint 241

    Description

      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

       

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhamilto Robb Hamilton
              rhn-engineering-rhamilto Robb Hamilton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: