-
Notifications
You must be signed in to change notification settings - Fork 34
OBSINTA-777: [Incidents] Regression for Silences #615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
OBSINTA-777: [Incidents] Regression for Silences #615
Conversation
- Add test for initial incidents loading without filter manipulation (OU-1002) - Add parameterized tests for dropdown closure on deselection (OU-1033) * Tests 3 dropdown types (filter type, severity, days) * Tests 2 deselection methods (bar click, chip removal) - Add test for incident ID filter preservation (OU-1030)
Add comprehensive regression tests for tooltip positioning, bar sorting, and date/time display in incidents charts. - 3 consolidated test sections covering various scenarios - Page object enhancements for alert chart interactions - Victory chart tooltip positioning with 12px arrow + 8px margin validation Verifies Section 2 of TESTING_CHECKLIST.md
Verify silences matched by alertname+namespace+severity with opacity and tooltip indicators across single and multi-alert scenarios. Includes data-test-ids for alert chart elements.
@DavidRajnoha: This pull request references OBSINTA-777 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:
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. |
Skipping CI for Draft Pull Request. |
@DavidRajnoha: This pull request references OBSINTA-777 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:
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 NOT APPROVED This pull-request has been approved by: DavidRajnoha The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Add Silence Matching Regression Test
**Depends on #609 **
Summary
Adds comprehensive e2e regression test for silences matching logic (Section 3.2 from test documentation).
Injects data-test-ids for the alert chart.
Bug
Silences were being matched by alert name only, not by the complete signature of
alertname + namespace + severity
. This caused alerts with the same name but different namespaces to incorrectly share silence status.Verifies: OU-1020, OU-706
Tests
New test file
03.reg_api_calls.cy.ts
that verifies silence matching works correctly by testing:Silenced alert behavior
Non-silenced alert behavior
Same alert name, different namespaces
Technical Details
9-silenced-alerts-mixed-scenario.yaml
with test scenariosselectIncidentAndWaitForAlerts()
- incident selection with waitverifyAlertOpacity()
- opacity assertionverifyAlertTooltip()
- tooltip content verification