Improve admin UI visual design — polish look and feel #59

Merged
ghost merged 4 commits from feat/ui-visual-polish into main 2026-03-19 03:33:35 +00:00
Showing only changes of commit ad4cc56546 - Show all commits
+6 -2
View File
@@ -23,7 +23,9 @@ function renderApp(route = "/admin") {
describe("App navigation", () => {
it("renders the Groom Book brand", () => {
const nav = renderApp();
expect(within(nav).getByText(/Groom\s*Book/)).toBeInTheDocument();
expect(
within(nav).getByText((_, el) => el?.tagName === "STRONG" && /Groom\s*Book/.test(el.textContent ?? ""))
).toBeInTheDocument();
});
it("renders the Book CTA button", () => {
@@ -61,6 +63,8 @@ describe("App navigation", () => {
</MemoryRouter>
);
// Customer portal should render at root - no admin nav present
expect(screen.queryByText(/Groom\s*Book/)).not.toBeInTheDocument();
expect(
screen.queryByText((_, el) => el?.tagName === "STRONG" && /Groom\s*Book/.test(el.textContent ?? ""))
).not.toBeInTheDocument();
});
});