-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.16.0, 4.17.0
-
None
-
No
-
False
-
-
Release Note Not Required
-
In Progress
Description of problem:
Version-Release number of selected component (if applicable):
Cypress test cannot be run locally. This appears to be the result of `window.SERVER_FLAGS.authDisabled` always having a value of `false` when auth is in fact disabled.
How reproducible:
Always
Steps to Reproduce:
1. Run `yarn test-cypress-console` with [auth disabled|https://github.com/openshift/console?tab=readme-ov-file#openshift-no-authentication] 2. Run any of the tests (e.g., masthead.cy.ts) 3. Note the test fails because the test tries to login even though auth is disabled. This appears to be because https://github.com/openshift/console/blob/d26868305edc663e8b251e5d73a7c62f7a01cd8c/frontend/packages/integration-tests-cypress/support/login.ts#L28 fails since `window.SERVER_FLAGS.authDisabled` incorrectly has a value of `false`.
- links to
-
RHEA-2024:3718 OpenShift Container Platform 4.17.z bug fix update