OCPBUGS-82506, OCPBUGS-82507: Re-enable OLM Cypress tests disabled for createRoot#16531
Conversation
… createRoot Fix operator-hub.cy.ts and operator-install-global.cy.ts tests that failed under React 18 concurrent rendering. operator-hub.cy.ts: Change filter assertion to use .should() callback with retry logic instead of immediate evaluation. Handles async catalog tile re-rendering under concurrent mode. operator.view.ts: Increase install mode radio timeout from 30s to 60s. Radio buttons mount after async data loads via useK8sWatchResource hooks, and concurrent rendering batches these operations. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
@TheRealJon: This pull request references Jira Issue OCPBUGS-82506, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
The bug has been updated to refer to the pull request using the external bug tracker. This pull request references Jira Issue OCPBUGS-82507, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
|
@TheRealJon: This pull request references Jira Issue OCPBUGS-82506, which is valid. 3 validation(s) were run on this bug
This pull request references Jira Issue OCPBUGS-82507, which is valid. 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
WalkthroughIntegration tests for Operator Lifecycle Manager are updated to tolerate React 18 concurrent rendering behavior. Cypress timeouts for namespace radio selectors are increased, the operator hub filter test assertion is retrofitted to wait for async DOM updates, and two previously disabled test suites are re-enabled. ChangesReact 18 Concurrent Rendering Test Compatibility
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/verified by CI |
|
@TheRealJon: This PR has been marked as verified by 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. |
|
/retest Seems to be an unrelated flake |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhamilto, TheRealJon 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 |
|
@TheRealJon: all tests passed! 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. |
|
@TheRealJon: Jira Issue Verification Checks: Jira Issue OCPBUGS-82506 Jira Issue OCPBUGS-82506 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 Jira Issue Verification Checks: Jira Issue OCPBUGS-82507 Jira Issue OCPBUGS-82507 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 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. |
Summary
Re-enable
operator-hub.cy.tsandoperator-install-global.cy.tse2e tests that were disabled during the React 18 createRoot migration (CONSOLE-4512).Changes
OCPBUGS-82506: operator-hub.cy.ts
startTransition(CatalogView.tsx:132). Test asserted tile content changed immediately after filter click without waiting for async re-render.invoke('text').should()to retry-based.should()callback that re-executes text extraction on each retry attempt. Properly handles async tile re-rendering under concurrent mode.OCPBUGS-82507: operator-install-global.cy.ts
useK8sWatchResourcehooks inoperator-hub-subscribe.tsx. Concurrent rendering batches these async operations, causing 30s timeout to be insufficient.operator.view.ts(lines 48, 63) to handle deferred rendering timing.Test Plan
operator-hub.cy.tspasses in CI under createRootoperator-install-global.cy.tspasses in CI under createRootRelated
🤖 Generated with Claude Code
Summary by CodeRabbit