fix(webui): simplify existing copy across all locales (#6116)
* fix(webui): clarify Chinese copy and channel field guidance * fix(webui): complete concise copy across all locales * fix(webui): limit copy rewrite to existing strings
This commit is contained in:
1 parent
de56e5de6b
commit
bbe7648868
210 files changed
+4658
-4658
No files matched your search
@@ -21,16 +21,16 @@ it("lets users type into prompt search immediately after opening it", async () =
|
||||
]} onJumpToPrompt={onJumpToPrompt} />);
|
||||
|
||||
await user.tab();
|
||||
expect(screen.getByRole("button", { name: "Open prompt navigator" })).toHaveFocus();
|
||||
expect(screen.getByRole("button", { name: "Message navigation" })).toHaveFocus();
|
||||
await user.keyboard("{Enter}");
|
||||
const search = await screen.findByRole("textbox", { name: "Search prompts" });
|
||||
const search = await screen.findByRole("textbox", { name: "Search messages" });
|
||||
await waitFor(() => expect(search).toHaveFocus());
|
||||
await user.keyboard("beta");
|
||||
expect(search).toHaveValue("beta");
|
||||
expect(screen.queryByRole("button", { name: "Jump to prompt: alpha" })).not.toBeInTheDocument();
|
||||
expect(screen.queryByRole("button", { name: "Jump to message: alpha" })).not.toBeInTheDocument();
|
||||
|
||||
await user.tab();
|
||||
expect(screen.getByRole("button", { name: "Jump to prompt: beta" })).toHaveFocus();
|
||||
expect(screen.getByRole("button", { name: "Jump to message: beta" })).toHaveFocus();
|
||||
await user.keyboard("{Enter}");
|
||||
expect(onJumpToPrompt).toHaveBeenCalledWith("two");
|
||||
await waitFor(() => expect(screen.queryByRole("dialog")).not.toBeInTheDocument());
|
||||
|
||||
Reference in new issue
Block a user