mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-04 08:28:36 +00:00
test(image): update model picker assertion
This commit is contained in:
parent
e875f29185
commit
8bd951a06f
@ -1690,7 +1690,7 @@ describe("App layout", () => {
|
|||||||
expect(screen.getByRole("heading", { name: "Image" })).toBeInTheDocument();
|
expect(screen.getByRole("heading", { name: "Image" })).toBeInTheDocument();
|
||||||
expect(screen.getByRole("switch", { name: "Image generation" })).toBeInTheDocument();
|
expect(screen.getByRole("switch", { name: "Image generation" })).toBeInTheDocument();
|
||||||
expect(screen.getByText("Provider status")).toBeInTheDocument();
|
expect(screen.getByText("Provider status")).toBeInTheDocument();
|
||||||
expect(screen.getByDisplayValue("openai/gpt-5.4-image-2")).toBeInTheDocument();
|
expect(screen.getByRole("button", { name: "openai/gpt-5.4-image-2" })).toBeInTheDocument();
|
||||||
expect(screen.getByText("Save directory")).toBeInTheDocument();
|
expect(screen.getByText("Save directory")).toBeInTheDocument();
|
||||||
expect(screen.getByRole("button", { name: "Save" })).toBeDisabled();
|
expect(screen.getByRole("button", { name: "Save" })).toBeDisabled();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user