The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(test): update test files to match new component interfaces
Steven Enamakel9c0b16106649
diff --git a/app/src/features/conversations/components/__tests__/SubagentDrawer.test.tsx b/app/src/features/conversations/components/__tests__/SubagentDrawer.test.tsxindex c898380ce5..c4632f759f 100644--- a/app/src/features/conversations/components/__tests__/SubagentDrawer.test.tsx+++ b/app/src/features/conversations/components/__tests__/SubagentDrawer.test.tsx@@ -178,10 +178,7 @@ describe('SubagentDrawer', () => {await waitFor(() =>expect(screen.getByTestId('subagent-parent-prompt').textContent).toContain('Research Q3'));- const row = screen.getByTestId('assistant-ui-tool-call');- expect(row.textContent).toContain('Used tool');- expect(row.textContent).toContain('openhuman turn state');- expect(row.textContent).not.toContain('Searched the web');+ expect(screen.getByTestId('assistant-ui-tool-call').textContent).toContain('Searched the web');expect(screen.getByTestId('subagent-transcript-text').textContent).toContain('Revenue grew 18%');diff --git a/app/src/features/conversations/components/__tests__/ToolTimelineBlock.test.tsx b/app/src/features/conversations/components/__tests__/ToolTimelineBlock.test.tsxindex c147f3c155..2c9229442a 100644--- a/app/src/features/conversations/components/__tests__/ToolTimelineBlock.test.tsx+++ b/app/src/features/conversations/components/__tests__/ToolTimelineBlock.test.tsx@@ -1459,7 +1459,7 @@ describe('ToolTimelineBlock — sub-agent activity survives the transcript path'expect(calls[0].textContent).toContain('Searched the web');expect(calls[0].textContent?.toLowerCase()).toContain('done');// Human label, not the raw `web_fetch` slug.- expect(calls[1].textContent).toContain('Fetching');+ expect(calls[1].textContent).toContain('Reading webpage');expect(calls[1].textContent?.toLowerCase()).toContain('running');});diff --git a/app/src/pages/__tests__/Conversations.render.test.tsx b/app/src/pages/__tests__/Conversations.render.test.tsxindex 7c76674c8e..5f580c5f83 100644--- a/app/src/pages/__tests__/Conversations.render.test.tsx+++ b/app/src/pages/__tests__/Conversations.render.test.tsx@@ -631,7 +631,7 @@ describe('Conversations — smoke render (#1123 welcome-lock removal)', () => {});// The past turn's core transcript is projected into assistant-ui exactly once.- expect(await screen.findByTestId('assistant-ui-tool-call')).toHaveTextContent('Read File');+ expect(await screen.findByTestId('assistant-ui-tool-call')).toHaveTextContent('Read file');});it('keeps assistant message copy available through assistant-ui', async () => {diff --git a/app/src/utils/__tests__/toolTimelineFormatting.test.ts b/app/src/utils/__tests__/toolTimelineFormatting.test.tsindex 707dc75582..59b0e5e5c4 100644--- a/app/src/utils/__tests__/toolTimelineFormatting.test.ts+++ b/app/src/utils/__tests__/toolTimelineFormatting.test.ts@@ -73,7 +73,7 @@ describe('formatTimelineEntry', () => {formatTimelineEntry(entry({ name: 'GMAIL_SEND_EMAIL', argsBuffer: JSON.stringify({ to: '[email protected]' }) }))- ).toEqual({ title: 'Using Gmail', detail: 'Send email' });+ ).toEqual({ title: 'Using Gmail', detail: 'Send email · [email protected]' });expect(formatTimelineEntry(entry({ name: 'GOOGLE_CALENDAR_CREATE_EVENT' }))).toEqual({title: 'Using Google Calendar',detail: 'Create event',