Update create flow pages

This commit is contained in:
adilallo
2026-04-13 18:24:13 -06:00
parent a39b4aa04b
commit a0de78c020
66 changed files with 1028 additions and 538 deletions
+5 -5
View File
@@ -1,11 +1,11 @@
import { describe, it, expect } from "vitest";
import { renderWithProviders as render, screen } from "../utils/test-utils";
import "@testing-library/jest-dom/vitest";
import InformationalPage from "../../app/create/informational/page";
import { InformationalScreen } from "../../app/create/screens/informational/InformationalScreen";
describe("InformationalPage", () => {
describe("InformationalScreen", () => {
it("renders without crashing", () => {
render(<InformationalPage />);
render(<InformationalScreen />);
expect(
screen.getByRole("heading", {
name: "How CommunityRule helps groups like yours",
@@ -14,7 +14,7 @@ describe("InformationalPage", () => {
});
it("renders lockup description", () => {
render(<InformationalPage />);
render(<InformationalScreen />);
expect(
screen.getByText(
/This flow will give you recommendations to improve your community/i,
@@ -23,7 +23,7 @@ describe("InformationalPage", () => {
});
it("renders first numbered list item title", () => {
render(<InformationalPage />);
render(<InformationalScreen />);
expect(
screen.getByText("Tell us about your organization"),
).toBeInTheDocument();