From 9e3bb85b1986090d41fb026d444ed6cfd22cb717 Mon Sep 17 00:00:00 2001 From: gsxdsm Date: Thu, 25 Jun 2026 03:35:16 -0700 Subject: [PATCH] FN-6986: align task chat tool-call status expectations Align TaskChatTab tests with lowercase tool-call status labels. - Update result tool-call assertion to expect lowercase status text. - Update error tool-call assertion to expect lowercase status text. Files changed: packages/dashboard/app/components/__tests__/TaskChatTab.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Fusion-Task-Id: FN-6986 Fusion-Task-Lineage: 1eb16aa3-9747-45d0-a18b-067c47892f1c --- .../dashboard/app/components/__tests__/TaskChatTab.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dashboard/app/components/__tests__/TaskChatTab.test.tsx b/packages/dashboard/app/components/__tests__/TaskChatTab.test.tsx index cd776c11dd..d3d025437b 100644 --- a/packages/dashboard/app/components/__tests__/TaskChatTab.test.tsx +++ b/packages/dashboard/app/components/__tests__/TaskChatTab.test.tsx @@ -800,7 +800,7 @@ describe("TaskChatTab", () => { expect(toolGroup).toHaveAttribute("open"); const invocation = screen.getByTestId("task-chat-tool-invocation"); - const kicker = screen.getByText("Tool call → Result"); + const kicker = screen.getByText("Tool call → result"); expect(invocation).toHaveClass("task-chat-tool-entry", "task-chat-tool-invocation"); expect(kicker).toHaveClass("task-chat-entry-kicker"); expect(kicker).toBeVisible(); @@ -857,7 +857,7 @@ describe("TaskChatTab", () => { await user.click(within(summary as HTMLElement).getByText("1 tool call")); - expect(screen.getByText("Tool call → Error")).toBeVisible(); + expect(screen.getByText("Tool call → error")).toBeVisible(); expect(screen.getByText("Error")).toBeVisible(); expect(screen.getByText("stderr")).toBeVisible(); });