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:
1 parent
ca1f58a50c
commit
2348a9e94f
61 files changed
+1110
-421
No files matched your search
@@ -8,21 +8,25 @@ describe("CommunityStructureSelectScreen", () => {
|
||||
it("does not render dummy help icons", () => {
|
||||
renderWithProviders(<CommunityStructureSelectScreen />);
|
||||
|
||||
expect(screen.getByText("Organization Type")).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText("What kind of community are you, mainly?"),
|
||||
).toBeInTheDocument();
|
||||
expect(screen.getByText("Anything else that fits?")).toBeInTheDocument();
|
||||
expect(screen.getByText("Scale")).toBeInTheDocument();
|
||||
expect(screen.getByText("Maturity")).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText(/Choose tags that describe your community/i),
|
||||
screen.getByText(/Your answers shape which cards we suggest/i),
|
||||
).toBeInTheDocument();
|
||||
expect(screen.queryByAltText("Help")).not.toBeInTheDocument();
|
||||
expect(screen.getByText("Pick one")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("gives structure chips Select/Deselect accessible names", () => {
|
||||
renderWithProviders(<CommunityStructureSelectScreen />);
|
||||
|
||||
expect(
|
||||
screen.getByRole("button", { name: "Select Worker co-op" }),
|
||||
).toBeInTheDocument();
|
||||
screen.getAllByRole("button", { name: "Select Worker co-op" }).length,
|
||||
).toBeGreaterThanOrEqual(2);
|
||||
expect(
|
||||
screen.getByRole("button", { name: "Select Local" }),
|
||||
).toBeInTheDocument();
|
||||
|
||||
Reference in new issue
Block a user