Show Login and Ask an organizer sent and error states.

Connect the live modals to the drawn sent, expired, invalid-email, and send-failed screens, pin the phone footer above the keyboard, and send the light login email.
This commit is contained in:
adilallo committed 2026-11-11 16:55:09 -07:00
1 parent 44010c7b73
commit 27d74e510c
29 files changed
+771 -281

No files matched your search

+5 -5
View File
@@ -177,7 +177,7 @@ describe("AuthModalProvider (header overlay)", () => {
"guest@example.com",
);
await user.click(
screen.getByRole("button", { name: /send me a magic link/i }),
screen.getByRole("button", { name: /send login link/i }),
);
await waitFor(() => {
expect(requestMagicLink).toHaveBeenCalledWith(
@@ -211,7 +211,7 @@ describe("AuthModalProvider (header overlay)", () => {
"guest@example.com",
);
await user.click(
screen.getByRole("button", { name: /send me a magic link/i }),
screen.getByRole("button", { name: /send login link/i }),
);
await waitFor(() => {
expect(requestMagicLink).toHaveBeenCalledWith(
@@ -285,14 +285,14 @@ describe("AuthModalProvider (header overlay)", () => {
screen.getByRole("heading", { name: /log in to invite your members/i }),
).toBeInTheDocument();
expect(
screen.getByRole("button", { name: /back to your rule/i }),
).toBeInTheDocument();
screen.getAllByRole("button", { name: /back to your rule/i }).length,
).toBeGreaterThan(0);
await user.type(
screen.getByRole("textbox", { name: /email address/i }),
"guest@example.com",
);
await user.click(
screen.getByRole("button", { name: /send me a magic link/i }),
screen.getByRole("button", { name: /send login link/i }),
);
await waitFor(() => {
expect(requestMagicLink).toHaveBeenCalledWith(