Turn a saved draft into the finished Rule, and greet with congratulations.
This commit is contained in:
1 parent
a2815ae05f
commit
851133e56d
11 files changed
+150
-23
No files matched your search
@@ -224,6 +224,11 @@ describe("ProfilePageView", () => {
|
||||
/>,
|
||||
);
|
||||
|
||||
expect(
|
||||
screen.getByRole("heading", {
|
||||
name: copy.welcomeTitle.replace("{{name}}", "dani@example.com"),
|
||||
}),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText(copy.welcomeBodyFirstRule),
|
||||
).toBeInTheDocument();
|
||||
@@ -343,5 +348,11 @@ describe("ProfilePageView", () => {
|
||||
expect(
|
||||
screen.getByRole("button", { name: copy.continueDraft }),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByRole("button", { name: copy.deleteRule }),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.queryByRole("button", { name: copy.inviteMembers }),
|
||||
).not.toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user