-
Story
-
Resolution: Done
-
Major
-
None
-
None
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)