Say Finish instead of Publish, and match login, cookies, privacy, and account-delete copy to the decided wording.
This commit is contained in:
1 parent
6e2e1915ae
commit
88bfccd1e7
15 files changed
+45
-47
No files matched your search
@@ -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();
|
||||
});
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
@@ -192,7 +192,7 @@ describe("AuthModalProvider (header overlay)", () => {
|
||||
});
|
||||
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(
|
||||
|
||||
@@ -24,10 +24,8 @@ describe("create footer messages", () => {
|
||||
expect(messages.create.footer.continue).toBe("Continue");
|
||||
});
|
||||
|
||||
it("exposes publishCommunityRule for the edit-rule footer CTA", () => {
|
||||
expect(messages.create.footer.publishCommunityRule).toBe(
|
||||
"Publish CommunityRule",
|
||||
);
|
||||
it("exposes Finish for the edit-rule footer CTA", () => {
|
||||
expect(messages.create.footer.publishCommunityRule).toBe("Finish");
|
||||
});
|
||||
|
||||
it("exposes Continue and Skip for the setup questions step", () => {
|
||||
|
||||
Reference in new issue
Block a user