v4: the instance fields ask for a URL — the login page's field read "Its address, like music.example" and /manage's "An instance's address, like music.example", an example that named no instance of the reader's. They now read "Your gerbeur's URL" and "An instance's URL".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -121,7 +121,7 @@ describe("Manage", () => {
|
||||
const user = open();
|
||||
await user.type(
|
||||
await screen.findByPlaceholderText(
|
||||
"An instance's address, like music.example",
|
||||
"An instance's URL",
|
||||
),
|
||||
"music.example",
|
||||
);
|
||||
@@ -173,7 +173,7 @@ describe("Manage", () => {
|
||||
expect(screen.queryByRole("button", { name: "Blocked" })).not
|
||||
.toBeInTheDocument();
|
||||
await user.type(
|
||||
screen.getByPlaceholderText("An instance's address, like music.example"),
|
||||
screen.getByPlaceholderText("An instance's URL"),
|
||||
"music.example{Enter}",
|
||||
);
|
||||
await waitFor(() =>
|
||||
|
||||
@@ -194,10 +194,10 @@ describe("UserLogin", () => {
|
||||
});
|
||||
|
||||
await user.clear(
|
||||
screen.getByPlaceholderText("Its address, like music.example"),
|
||||
screen.getByPlaceholderText("Your gerbeur's URL"),
|
||||
);
|
||||
await user.type(
|
||||
screen.getByPlaceholderText("Its address, like music.example"),
|
||||
screen.getByPlaceholderText("Your gerbeur's URL"),
|
||||
" films.example {Enter}",
|
||||
);
|
||||
await waitFor(() =>
|
||||
@@ -223,7 +223,7 @@ describe("UserLogin", () => {
|
||||
);
|
||||
const user = setup();
|
||||
await user.type(
|
||||
screen.getByPlaceholderText("Its address, like music.example"),
|
||||
screen.getByPlaceholderText("Your gerbeur's URL"),
|
||||
"films.example{Enter}",
|
||||
);
|
||||
expect(await screen.findByRole("alert")).toHaveTextContent(
|
||||
|
||||
Reference in New Issue
Block a user