[release-4.22] OCPBUGS-83546: Fix Cypress test timeouts by using correct timeout option#16292
Conversation
Multiple Cypress integration tests were timing out in CI after 15 seconds despite attempting to set a 300-second timeout. The tests were using `requestTimeout` in WAIT_OPTIONS, but this option controls how long to wait for the request to be sent, not how long to wait for the response or for the cy.wait() command to complete. Changed `requestTimeout` to `timeout` in all affected test files. The `timeout` option is the correct option for controlling how long cy.wait() will wait for route aliases to resolve. Affected files: - packages/integration-tests/tests/app/admission-webhook-warning-notifications.cy.ts - packages/integration-tests/tests/app/poll-console-updates.cy.ts - packages/integration-tests/tests/cluster-settings/channel-modal.cy.ts - packages/integration-tests/tests/cluster-settings/update-in-progress.cy.ts - packages/integration-tests/tests/cluster-settings/update-modal.cy.ts - packages/integration-tests/tests/cluster-settings/updates-graph.cy.ts - packages/integration-tests/tests/cluster-settings/upgradeable-false.cy.ts - packages/integration-tests/tests/cluster-settings/worker-mcp-paused.cy.ts Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: openshift-cherrypick-robot The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@openshift-cherrypick-robot: Jira Issue OCPBUGS-83446 has been cloned as Jira Issue OCPBUGS-83546. Will retitle bug to link to clone. 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-83546, 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. |
|
/jira refresh |
|
@jhadvig: This pull request references Jira Issue OCPBUGS-83546, 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 |
|
@jhadvig: This pull request references Jira Issue OCPBUGS-83546, 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 |
|
@jhadvig: This pull request references Jira Issue OCPBUGS-83546, 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. |
|
@openshift-cherrypick-robot: 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. |
This is an automated cherry-pick of #16280
/assign rhamilto