[release-4.22] OCPBUGS-86700: Fix and re-enable operator e2e tests disabled for createRoot#16518
Conversation
…t rendering
React 18 concurrent rendering causes multiple timing issues in operator
install test:
1. Radio button group mounts async, causing selectors to timeout
2. Install CTA link href loads async via useCtaLink hook
3. Cypress chain breaks when .should('have.attr') yields string value
Fixed by:
- Add explicit 30s timeout to namespace scope radio button selectors
('A specific namespace on the cluster-radio-input', 'All namespaces...')
- Split Install CTA click into separate commands to avoid chain break:
verify visible, verify href non-empty, then click fresh element
- Re-enable test (xdescribe → describe)
Matches pattern from other createRoot e2e fixes (OCPBUGS-82512 knative,
OCPBUGS-82504 cluster-settings) which add timeouts to async-mounted elements.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Test was disabled during createRoot migration due to namespace scope radio button timeout in before hook. Fix already applied to shared operator.view.ts helper in OCPBUGS-82508 (30s timeout on radio selectors). Re-enable test by changing xdescribe → describe and removing disable comment. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
@openshift-cherrypick-robot: Jira Issue OCPBUGS-82508 has been cloned as Jira Issue OCPBUGS-86700. Will retitle bug to link to clone. An error was encountered cloning bug for cherrypick for bug OCPBUGS-82509 on the Jira server at https://redhat.atlassian.net. No known errors were detected, please see the full error message for details. Full error message.
request failed. Please analyze the request body for more details. Status code: 400: {"errorMessages":[],"errors":{"comment":"Field does not support update 'comment'","issuelinks":"Field does not support update 'issuelinks'","worklog":"Field does not support update 'worklog'"}}
Please contact an administrator to resolve this issue, then request a bug refresh with 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. |
|
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-86700, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. This pull request references Jira Issue OCPBUGS-82509, 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. |
|
/retitle [release-4.22] OCPBUGS-86700: Fix and re-enable operator e2e tests disabled for createRoot |
|
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-86700, which is valid. The bug has been moved to the POST state. 7 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. |
|
/label backport-risk-assessed |
|
/verified by ci |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: logonoff, openshift-cherrypick-robot 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 |
|
@logonoff: 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. |
|
@openshift-cherrypick-robot: 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. |
11036df
into
openshift:release-4.22
|
@openshift-cherrypick-robot: Jira Issue Verification Checks: Jira Issue OCPBUGS-86700 Jira Issue OCPBUGS-86700 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. |
This is an automated cherry-pick of #16517
/assign logonoff