Skip to content

Conversation

DavidRajnoha
Copy link
Contributor

@DavidRajnoha DavidRajnoha commented Sep 25, 2025

The UI changes introduced few quirks that break the traversal of incidents, but also solved some that had existing workarounds in the testsuite.

This commit removes the retry for the not loading alerts chart, as it is loading reliably now, but because stale state is loaded first, it introduces hard coded wait time.

https://issues.redhat.com/browse/OU-1016 is the issue that this workaround is about. If it will be fixed, the workaround is to be replaced and the incident traversal will serve as a regression test for it.

Additionally, it fixes the failing traversal when no incidents exits in the UI and adds test case that verifies that on mocked data.

Depends on #553 so it is possible to test it with current setup (mocking and request transformation due to old new metric), but the changes are otherwise independent – That means it is ready for review.

@DavidRajnoha DavidRajnoha changed the title Cypress incidents incident traversing robustness NO-JIRA: Cypress incidents incident traversing robustness Sep 25, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 25, 2025
@openshift-ci-robot
Copy link

@DavidRajnoha: This pull request explicitly references no jira issue.

In response to this:

The UI changes introduced few quirks that break the traversal of
incidents, but also solved some that had existing workarounds in the
testsuite.

This commit removes the retry for the not loading alerts chart, as it is
loading reliably now, but because stale state is loaded first, it
introduces hard coded wait time.

Additionally, it fixes the failing traversal when no incidents exits in
the UI and adds test case that verifies that on mocked data.

Depends on #553 so it is possible to test it with current setup (mocking and request transformation due to old new metric), but the changes are otherwise independent – That means it is ready for review.

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-ci openshift-ci bot requested review from kyoto and zhuje September 25, 2025 14:28
cluster:health:components:map was changed to
cluster_health_components_map. This commit updates the mocking to
return the new metric and supports running tests in environments with
old backend and new frontend. This workaround is by default disabled
and will be fully removed after the COO 1.3.0 release
cluster:health:components:map was changed to
cluster_health_components_map. This commit updates the mocking to
return the new metric and supports running tests in environments with
old backend and new frontend. This workaround is by default disabled
and will be fully removed after the COO 1.3.0 release
cluster:health:components:map was changed to
cluster_health_components_map. This commit updates the mocking to
return the new metric and supports running tests in environments with
old backend and new frontend. This workaround is by default disabled
and will be fully removed after the COO 1.3.0 release
The UI changes introduced few quirks that break the traversal of
incidents, but also solved some that had existing workarounds in the
testsuite.

This commit removes the retry for the not loading alerts chart, as it is
loading reliably now, but because stale state is loaded first, it
introduces hard coded wait time.

Additionally, it fixes the failing traversal when no incidents exits in
the UI and adds test case that verifies that on mocked data.
@DavidRajnoha DavidRajnoha force-pushed the cypress-incidents-incident-traversing-robustness branch from e664bc7 to 91dc2bd Compare September 26, 2025 08:14
@DavidRajnoha DavidRajnoha changed the title NO-JIRA: Cypress incidents incident traversing robustness OBSINTA-858: Cypress incidents incident traversing robustness Sep 29, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 29, 2025

@DavidRajnoha: This pull request references OBSINTA-858 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.21.0" version, but no target version was set.

In response to this:

The UI changes introduced few quirks that break the traversal of incidents, but also solved some that had existing workarounds in the testsuite.

This commit removes the retry for the not loading alerts chart, as it is loading reliably now, but because stale state is loaded first, it introduces hard coded wait time.

https://issues.redhat.com/browse/OU-1016 is the issue that this workaround is about. If it will be fixed, the workaround is to be replaced and the incident traversal will serve as a regression test for it.

Additionally, it fixes the failing traversal when no incidents exits in the UI and adds test case that verifies that on mocked data.

Depends on #553 so it is possible to test it with current setup (mocking and request transformation due to old new metric), but the changes are otherwise independent – That means it is ready for review.

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.

@falox
Copy link
Contributor

falox commented Sep 30, 2025

/label qe-approved
/label ux-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Sep 30, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 30, 2025

@DavidRajnoha: This pull request references OBSINTA-858 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.21.0" version, but no target version was set.

In response to this:

The UI changes introduced few quirks that break the traversal of incidents, but also solved some that had existing workarounds in the testsuite.

This commit removes the retry for the not loading alerts chart, as it is loading reliably now, but because stale state is loaded first, it introduces hard coded wait time.

https://issues.redhat.com/browse/OU-1016 is the issue that this workaround is about. If it will be fixed, the workaround is to be replaced and the incident traversal will serve as a regression test for it.

Additionally, it fixes the failing traversal when no incidents exits in the UI and adds test case that verifies that on mocked data.

Depends on #553 so it is possible to test it with current setup (mocking and request transformation due to old new metric), but the changes are otherwise independent – That means it is ready for review.

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-ci openshift-ci bot added the ux-approved Signifies that UX has signed off on this PR label Sep 30, 2025
@jgbernalp
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 30, 2025
Copy link
Contributor

openshift-ci bot commented Sep 30, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: DavidRajnoha, jgbernalp

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 30, 2025
@jgbernalp
Copy link
Contributor

/retest-required

@jgbernalp
Copy link
Contributor

/override ci/prow/okd-scos-e2e-aws-ovn

Copy link
Contributor

openshift-ci bot commented Sep 30, 2025

@jgbernalp: Overrode contexts on behalf of jgbernalp: ci/prow/okd-scos-e2e-aws-ovn

In response to this:

/override ci/prow/okd-scos-e2e-aws-ovn

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 kubernetes-sigs/prow repository.

@jgbernalp
Copy link
Contributor

/override ci/prow/e2e-aws-ovn

Copy link
Contributor

openshift-ci bot commented Sep 30, 2025

@jgbernalp: Overrode contexts on behalf of jgbernalp: ci/prow/e2e-aws-ovn

In response to this:

/override ci/prow/e2e-aws-ovn

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 kubernetes-sigs/prow repository.

Copy link
Contributor

openshift-ci bot commented Sep 30, 2025

@DavidRajnoha: all tests passed!

Full PR test history. Your PR dashboard.

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 25540fe into openshift:main Sep 30, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. qe-approved Signifies that QE has signed off on this PR ux-approved Signifies that UX has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants