-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
openshift-4.19
-
None
Changes in https://github.com/openshift/console/pull/14875 resulted in Cypress test text form input slowing to the point that it made tests run for up to 2 hours longer than normal and often resulted in Cypress crashing. The workaround was to upgrade Cypress to v14. As part of that upgrade, `injectDocumentDomain` was added to the Cypress configs in order to continue using subdomains without updating the existing tests to use `cy.origin`. However, `injectDocumentDomain` is deprecated and results in a warning when launching Cypress, and `injectDocumentDomain` will be removed in a future version of Cypress. See https://docs.cypress.io/app/references/changelog#14-0-0. We should update the Cypress configs to remove the usage of `injectDocumentDomain` and properly update the tests. I believe the login command is the only affected code.
AC:
- Remove the `injectDocumentDomain` configuration from the all all the cypress.config.js files which are using it for login purposes, and use `cy.origin()` inside the tests instead.
- is related to
-
CONSOLE-4514 Remove border above HorizontalNav
-
- Closed
-
- links to