diff --git a/apps/web/app/(dashboard)/issues/page.test.tsx b/apps/web/app/(dashboard)/issues/page.test.tsx index 64372832..6866d60f 100644 --- a/apps/web/app/(dashboard)/issues/page.test.tsx +++ b/apps/web/app/(dashboard)/issues/page.test.tsx @@ -310,12 +310,13 @@ describe("IssuesPage", () => { expect(screen.getByText("Priority: All")).toBeInTheDocument(); }); - it("shows empty state when no issues match", () => { + it("shows empty board view when no issues exist", () => { mockStoreState.loading = false; mockStoreState.issues = []; render(); - expect(screen.getByText("No matching issues")).toBeInTheDocument(); + // Should still render the board/list view, not a "no issues" message + expect(screen.queryByText("No matching issues")).not.toBeInTheDocument(); }); });