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(webui): check retained queued images through thumbnails
Xubin Rena39bb03d352b
diff --git a/webui/src/tests/queued-guidance.test.tsx b/webui/src/tests/queued-guidance.test.tsxindex 5b50e739b..538070880 100644--- a/webui/src/tests/queued-guidance.test.tsx+++ b/webui/src/tests/queued-guidance.test.tsx@@ -132,7 +132,7 @@ describe("merged waiting messages", () => {enter(String(index + 1));}expect(screen.getByLabelText("Message input")).toHaveValue("2");- expect(screen.getByTestId("composer-chip")).toHaveTextContent("second.png");+ expect(within(screen.getByTestId("composer-chip")).getByRole("img", { name: "second.png" })).toBeInTheDocument();expect(screen.getByRole("group", { name: "Waiting to send" })).toHaveTextContent("first.png");expect(screen.getByText(error, { exact: false })).toBeInTheDocument();expect(onSend).not.toHaveBeenCalled();