From f4d40cb04e622decf6934ca9db0c1677a95bfb74 Mon Sep 17 00:00:00 2001 From: OmO Orchestrator Date: Tue, 17 Nov 2026 20:34:57 -0500 Subject: [PATCH] test(approutes): add real-screen mount assertions for newly wired miniapps --- src/AppRoutes.test.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/AppRoutes.test.tsx b/src/AppRoutes.test.tsx index 7dba743..0ccead1 100644 --- a/src/AppRoutes.test.tsx +++ b/src/AppRoutes.test.tsx @@ -47,6 +47,15 @@ describe("AppRoutes shell router", () => { } else if (entry.id === "light-clock") { expect(screen.getByRole("region", { name: "Light Clock" })).toBeInTheDocument(); expect(screen.queryByTestId("miniapp-placeholder")).not.toBeInTheDocument(); + } else if (entry.id === "fair-draw") { + expect(screen.getByRole("region", { name: "Fair Draw" })).toBeInTheDocument(); + expect(screen.queryByTestId("miniapp-placeholder")).not.toBeInTheDocument(); + } else if (entry.id === "find-family") { + expect(screen.getByRole("region", { name: "Find Family" })).toBeInTheDocument(); + expect(screen.queryByTestId("miniapp-placeholder")).not.toBeInTheDocument(); + } else if (entry.id === "health-post") { + expect(screen.getByRole("region", { name: "Health Post" })).toBeInTheDocument(); + expect(screen.queryByTestId("miniapp-placeholder")).not.toBeInTheDocument(); } else { expect(screen.getByTestId("miniapp-placeholder")).toHaveTextContent(`Coming soon: ${entry.label}`); }