Description of problem: Ability for running Cypress tests against a remote reference (possibly shared) cluster is valuable. However, if you try that, you'd encounter fails in `namespace-crud.spec.ts` sometimes as your target cluster may have Developer perspective for kubeadmin user. Version-Release number of selected component (if applicable): 4.9 How reproducible: Sometimes, unpredictable, as that could be set by somebody else on a shared cluster. Steps to Reproduce: 1. set `$BRIDGE_BASE_ADDRESS` to point to your remote cluster 2. run `test-cypress.sh -h true -p console -s 'tests/crud/namespace-crud*` 3. see it fail sometimes when Developer perspective is active for kubeadmin Actual results: Sometimes fail Expected results: Always pass (as long as nothing's wrong with the cluster) Additional info:
cluster version: 4.10.0-0.nightly-2021-10-10-083341 Steps to verify: 1. Login to the cluster manually using kubeadmin 2. Change the perspective to developer and logout 3. set `$BRIDGE_BASE_ADDRESS` to point to your remote cluster 4. run `test-cypress.sh -h true -p console -s 'tests/crud/namespace-crud*` 5. see it fail sometimes when Developer perspective is active for kubeadmin Now it will change the perspective to admin before running tests.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0056