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

Update cypress.config

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Major
    • None
    • None
    • Tests
    • HAC Infra OCP - Sprint 244

    Description

      With the migration to Cypress 10+, Cypress' config file changed. When migrating to the new config file format, Cypress automatically retained the existing plugins setup. We should update the config to import the plugins directly in to the config file and convert the file to TypeScript. See https://docs.cypress.io/guides/tooling/plugins-guide

      In retrospect, we don't actually want to do this because https://github.com/openshift/console/blob/master/frontend/packages/integration-tests-cypress/plugins/index.js is shared with OLM, so directly importing will mean duplication. Additionally, there is no real benefit to converting to TypeScript, so I am reducing this story to simply removing the comments in the comments here and here

      AC: Update the Cypress config for

      • console (frontend/packages/integration-tests-cypress/cypress.config.js)
      • OLM package (frontend/packages/operator-lifecycle-manager/integration-tests-cypress/cypress.config.js)

      Attachments

        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: