Walk Create Community through the Figma screens and restore a chosen logo after reload, so a guest can leave without saving until they reach the email step.

This commit is contained in:
adilallo committed 2026-11-05 16:14:04 -07:00
1 parent ca1f58a50c
commit 2348a9e94f
61 files changed
+1110 -421

No files matched your search

+14
View File
@@ -57,4 +57,18 @@ describe("Alert dismiss control", () => {
screen.queryByRole("button", { name: "Close" }),
).not.toBeInTheDocument();
});
it("renders an action control when actionLabel and onAction are set", async () => {
const user = userEvent.setup();
const onAction = vi.fn();
render(
<Alert
title="Check your email"
actionLabel="Send it again"
onAction={onAction}
/>,
);
await user.click(screen.getByRole("button", { name: "Send it again" }));
expect(onAction).toHaveBeenCalledTimes(1);
});
});