[WIP] OCPBUGS-82504: Re-enable cluster-settings/update-modal.cy.ts e2e test disabled for createRoot adoption#16283
Conversation
|
@cajieh: This pull request references Jira Issue OCPBUGS-82504, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cajieh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/jira refresh |
|
@cajieh: This pull request references Jira Issue OCPBUGS-82504, which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@cajieh: This pull request references Jira Issue OCPBUGS-82504, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
…reateRoot adoption
99cfe3f to
90a3b5f
Compare
|
/test e2e-gcp-console |
3 similar comments
|
/test e2e-gcp-console |
|
/test e2e-gcp-console |
|
/test e2e-gcp-console |
|
@cajieh: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |

Changes
Re-enable "frontend/packages/integration-tests/tests/cluster-settings/update-modal.cy.ts" (remove xdescribe) so the cluster update modal E2E runs again after the React 18 / createRoot migration.
Stabilize Cypress commands for concurrent UI: split
.should()/ .click()where the DOM was updating mid-chain; in views/cluster-settings.ts, wait for the modal and version dropdown to be visible, enabled, and not aria-busy before clicking.Deterministic MachineConfigPool state: add mocks/machine-config-pool.ts with minimal list fixtures (paused vs unpaused worker, stable ordering).
cy.intercept the ClusterVersion resource and the MCP list GET (**/machineconfiguration.openshift.io/v1/machineconfigpools?*) so assertions do not depend on live cluster MCP pause state.
support/stub-machine-config-pool-watch-ws.ts: in onBeforeLoad, only MachineConfigPool list watch WebSocket URLs are replaced with a no-op socket so watch frames cannot overwrite the intercepted list in Redux (GET intercept alone is insufficient).
clusterSettings.detailsIsLoaded(visitOptions?) to pass onBeforeLoad; oc patch mcp/worker uses failOnNonZeroExit: false so optional CLI sync does not fail jobs when MCO/oc is unavailable.
WAIT_OPTIONS(requestTimeout: 300000oncy.wait(@clusterVersion)) aligns with other cluster-settings integration tests and tolerates slow CI before the first ClusterVersion request fires. Not new, could be reduce after observaing the behavior in CI. While not new, this timeout could be reduced after observing CI behavior over time.Justification
Screenshot: