Skip to content

Commit 6b79056

Browse files
add fix me to calendar tests (#62700)
1 parent 2f051a8 commit 6b79056

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

airflow-core/src/airflow/ui/tests/e2e/specs/dag-calendar-tab.spec.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ test.describe("DAG Calendar Tab", () => {
9797
expect(states.length).toBeGreaterThanOrEqual(2);
9898
});
9999

100-
test("verify hover shows correct run states", async () => {
100+
// These tests depend on a "failed" dag run being present. The scheduler
101+
// can override the PATCH-to-failed state back to success before tests run
102+
// because the shared testDag may already be unpaused by parallel tests.
103+
104+
test.fixme("verify hover shows correct run states", async () => {
101105
await calendar.switchToHourly();
102106

103107
const states = await calendar.getManualRunStates();
@@ -106,7 +110,7 @@ test.describe("DAG Calendar Tab", () => {
106110
expect(states).toContain("failed");
107111
});
108112

109-
test("failed filter shows only failed runs", async () => {
113+
test.fixme("failed filter shows only failed runs", async () => {
110114
await calendar.switchToHourly();
111115

112116
const totalStates = await calendar.getManualRunStates();
@@ -122,7 +126,7 @@ test.describe("DAG Calendar Tab", () => {
122126
expect(failedStates).not.toContain("success");
123127
});
124128

125-
test("failed view reduces active cells", async () => {
129+
test.fixme("failed view reduces active cells", async () => {
126130
await calendar.switchToHourly();
127131

128132
const totalCount = await calendar.getActiveCellCount();
@@ -134,7 +138,7 @@ test.describe("DAG Calendar Tab", () => {
134138
expect(failedCount).toBeLessThan(totalCount);
135139
});
136140

137-
test("color scale changes between total and failed view", async () => {
141+
test.fixme("color scale changes between total and failed view", async () => {
138142
await calendar.switchToHourly();
139143

140144
const totalColors = await calendar.getActiveCellColors();
@@ -147,7 +151,7 @@ test.describe("DAG Calendar Tab", () => {
147151
expect(failedColors).not.toEqual(totalColors);
148152
});
149153

150-
test("cells reflect failed view mode attribute", async () => {
154+
test.fixme("cells reflect failed view mode attribute", async () => {
151155
await calendar.switchToHourly();
152156
await calendar.switchToFailedView();
153157

0 commit comments

Comments
 (0)