Say Finish instead of Publish, and match login, cookies, privacy, and account-delete copy to the decided wording.

This commit is contained in:
adilallo committed 2026-11-06 08:39:00 -07:00
1 parent 6e2e1915ae
commit 88bfccd1e7
15 files changed
+45 -47

No files matched your search

+1 -1
View File
@@ -1296,7 +1296,7 @@ describe("FinalReviewScreen — edit published title and description", () => {
).toBeInTheDocument();
expect(
screen.getByText(
/Update what others see on your public rule. Save & Exit or Publish applies changes to your published CommunityRule./i,
/Update what others see on your Rule. Save & Exit or Finish applies the changes./i,
),
).toBeInTheDocument();
});
+4 -4
View File
@@ -124,7 +124,7 @@ describe("LoginForm", () => {
expect(
await screen.findByRole("heading", { name: /check your email/i }),
).toBeInTheDocument();
expect(screen.getByText(/we sent a sign-in link/i)).toBeInTheDocument();
expect(screen.getByText(/we sent a login link/i)).toBeInTheDocument();
expect(screen.getByText(/check spam or promotions/i)).toBeInTheDocument();
});
@@ -191,7 +191,7 @@ describe("LoginForm", () => {
);
expect(
screen.getByRole("heading", {
name: /sign in to keep this rule on your profile/i,
name: /log in to keep this rule on your profile/i,
}),
).toBeInTheDocument();
await user.type(
@@ -300,7 +300,7 @@ describe("LoginForm", () => {
navMock.searchParams = new URLSearchParams("error=expired_link");
renderLoginForm();
expect(
screen.getByText(/that sign-in link has expired/i),
screen.getByText(/that login link has expired/i),
).toBeInTheDocument();
});
@@ -308,7 +308,7 @@ describe("LoginForm", () => {
navMock.searchParams = new URLSearchParams("error=invalid_link");
renderLoginForm();
expect(
screen.getByText(/that sign-in link is not valid/i),
screen.getByText(/that login link is not valid/i),
).toBeInTheDocument();
});