This is an automated email from the ASF dual-hosted git repository.
vatsrahul1001 pushed a commit to branch v3-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit ed92c83a2cbc4e20ca864240297da6b592f201eb
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Apr 21 12:13:54 2026 +0200
[v3-2-test] unmock Graph component in Graph.test.tsx so hook assertions are
reached (#65555) (#65556)
(cherry picked from commit 7d13c2cd0253539a8b4df62b4b661b277a688427)
Co-authored-by: Bugra Ozturk <[email protected]>
---
airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.test.tsx | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.test.tsx
b/airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.test.tsx
index 8fa32dcc2c8..da463360e96 100644
--- a/airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.test.tsx
+++ b/airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.test.tsx
@@ -25,6 +25,10 @@ import { Wrapper } from "src/utils/Wrapper";
import { Graph } from "./Graph";
+// testsSetup.ts globally mocks Graph to null so full-page tests don't need to
+// stub ELK layout data. Unmock it here so we test the real component.
+vi.unmock("src/layouts/Details/Graph/Graph");
+
let mockParams: Record<string, string> = { dagId: "test_dag" };
vi.mock("react-router-dom", async () => {