Skip to content

Commit 0d43a91

Browse files
Claude Agentclaude
andcommitted
fix(tests): remove cy.pause() from tooltip test, add missing fixture
- Remove 3 cy.pause() debug calls from the tooltip boundary test (02.reg_ui_tooltip_boundary_times) that block automated runs. The @xfail tag is already excluded by CI test commands (--@xfail). - Add missing silenced-and-firing-mixed-severity fixture referenced by 02.incidents-mocking-example.cy.ts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent df39821 commit 0d43a91

2 files changed

Lines changed: 32 additions & 3 deletions

File tree

web/cypress/e2e/incidents/regression/02.reg_ui_tooltip_boundary_times.cy.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ describe(
113113
incidentsPage.setDays('1 day');
114114
incidentsPage.elements.incidentsChartContainer().should('be.visible');
115115
incidentsPage.elements.incidentsChartBarsGroups().should('have.length', 1);
116-
cy.pause();
117116

118117
cy.log(
119118
'2.2 Consecutive interval boundaries: End of segment 1 should equal Start of segment 2',
@@ -141,7 +140,6 @@ describe(
141140
).to.equal(firstEnd);
142141
});
143142
});
144-
cy.pause();
145143

146144
cy.log('2.3 Incident tooltip Start vs alert tooltip Start vs alerts table Start');
147145
incidentsPage.hoverOverIncidentBarSegment(0, 0);
@@ -188,7 +186,6 @@ describe(
188186
});
189187
});
190188
});
191-
cy.pause();
192189

193190
cy.log('Expected failure: Incident tooltip Start times are 5 minutes off (OU-1221)');
194191
});
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "Silenced and Firing Mixed Severity"
2+
description: "One silenced critical incident (resolved) and one firing warning incident."
3+
incidents:
4+
- id: "silenced-critical-resolved-001"
5+
component: "monitoring"
6+
layer: "core"
7+
timeline:
8+
start: "4h"
9+
end: "1h"
10+
alerts:
11+
- name: "SilencedCriticalAlert001"
12+
namespace: "openshift-monitoring"
13+
severity: "critical"
14+
firing: false
15+
silenced: true
16+
timeline:
17+
start: "3h"
18+
end: "2h"
19+
20+
- id: "firing-warning-unsilenced-001"
21+
component: "network"
22+
layer: "core"
23+
timeline:
24+
start: "2h"
25+
alerts:
26+
- name: "FiringWarningAlert001"
27+
namespace: "openshift-network"
28+
severity: "warning"
29+
firing: true
30+
silenced: false
31+
timeline:
32+
start: "1h"

0 commit comments

Comments
 (0)