Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
test(image): update model picker assertion
Xubin Ren8bd951a06f49
diff --git a/webui/src/tests/app-layout.test.tsx b/webui/src/tests/app-layout.test.tsxindex 7b4a735b9..624484f3c 100644--- a/webui/src/tests/app-layout.test.tsx+++ b/webui/src/tests/app-layout.test.tsx@@ -1690,7 +1690,7 @@ describe("App layout", () => {expect(screen.getByRole("heading", { name: "Image" })).toBeInTheDocument();expect(screen.getByRole("switch", { name: "Image generation" })).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.getByRole("button", { name: "Save" })).toBeDisabled();