mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-19 18:46:16 +03:00
fix(webui): polish responsive layout
This commit is contained in:
@@ -941,7 +941,9 @@ describe("ThreadShell", () => {
|
||||
);
|
||||
await act(async () => {});
|
||||
|
||||
expect(screen.getByText(HERO_GREETING_PATTERN)).toBeInTheDocument();
|
||||
const greeting = screen.getByRole("heading", { level: 1, name: HERO_GREETING_PATTERN });
|
||||
expect(greeting).toHaveAttribute("data-testid", "hero-greeting");
|
||||
expect(greeting).toHaveClass("whitespace-nowrap");
|
||||
expect(screen.getByPlaceholderText("Ask anything...")).toBeInTheDocument();
|
||||
expect(screen.queryByRole("button", { name: "Write code" })).not.toBeInTheDocument();
|
||||
expect(screen.queryByRole("button", { name: "Create a project plan" })).not.toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user