This is an automated email from the ASF dual-hosted git repository.
bbovenzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new f605f1040f3 UI: Fix the Dag filters test that fails lint and vitest
(#75963)
f605f1040f3 is described below
commit f605f1040f3b08211d23d8cf91c5717343b25631
Author: Pushkal Gupta <[email protected]>
AuthorDate: Thu Oct 29 20:02:42 2026 +0530
UI: Fix the Dag filters test that fails lint and vitest (#75963)
---
.../src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.test.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.test.tsx
b/airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.test.tsx
index b485689d3af..380fd374c67 100644
---
a/airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.test.tsx
+++
b/airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters/DagsFilters.test.tsx
@@ -247,7 +247,7 @@ describe("Links written before draining moved into the
pill", () => {
await waitFor(() =>
expect(screen.queryByText("draining_dag")).not.toBeInTheDocument());
expect(screen.getByText("tutorial_taskflow_api_success")).toBeInTheDocument();
-
fireEvent.click(within(screen.getByTestId("paused-pill")).getByRole("button"));
+ fireEvent.click(screen.getByTestId("paused-pill-remove"));
await waitFor(() =>
expect(screen.getByText("paused_dag")).toBeInTheDocument());
expect(screen.getByText("draining_dag")).toBeInTheDocument();
});