Create use cases pages

This commit is contained in:
adilallo
2026-05-18 16:50:44 -06:00
parent 40ce5064d6
commit 7c46cbd87b
28 changed files with 836 additions and 58 deletions
+17
View File
@@ -81,4 +81,21 @@ describe("AskOrganizer (behavioral tests)", () => {
}),
).toBeInTheDocument();
});
it("use-case-detail variant uses inverse lockup and figma node", () => {
const { container } = render(
<AskOrganizer
title="Still have questions?"
subtitle="Get answers from an experienced organizer"
buttonText="Ask an Organizer"
variant="use-case-detail"
/>,
);
expect(
container.querySelector('[data-figma-node="22015-42624"]'),
).toBeInTheDocument();
expect(
screen.getByRole("heading", { name: "Still have questions?" }),
).toBeInTheDocument();
});
});