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(channels): wait for cancellation controls to settle
Xubin Rene148296d5c30
diff --git a/nanobot/channels/linear/tests/webui/LinearPanel.test.tsx b/nanobot/channels/linear/tests/webui/LinearPanel.test.tsxindex b201e9b66..39c817911 100644--- a/nanobot/channels/linear/tests/webui/LinearPanel.test.tsx+++ b/nanobot/channels/linear/tests/webui/LinearPanel.test.tsx@@ -488,7 +488,7 @@ describe("Linear channel UI", () => {expect(screen.getByRole("button", { name: "Cancel" })).toBeEnabled();fireEvent.click(screen.getByRole("button", { name: "Cancel" }));expect(await screen.findByText("Authorization stopped.")).toBeVisible();- expect(screen.getByRole("textbox", { name: "OAuth client ID" })).toBeEnabled();+ await waitFor(() => expect(screen.getByRole("textbox", { name: "OAuth client ID" })).toBeEnabled());expect(requestMutationMock).toHaveBeenCalledWith("settings.channel.connect.cancel", { channel: "linear", session_id: "linear-oauth" }, 20_000,);