Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(conversations): correct tool timeline adapter test assertion

Steven Enamakele4cb06ae9762
diff --git a/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsx b/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsx
index 54f98fd74a..5160884a81 100644
--- a/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsx
+++ b/app/src/features/conversations/aui/ToolTimelineAdapter.test.tsx
@@ -274,21 +274,21 @@ describe('ToolTimelineAdapter — worker thread ref status propagation', () => {
}
it('passes `running` to the card when the parent entry is in flight', () => {
- render(<ToolTimelineAdapter entries={[entryWithStatus('running')]} />);
+ renderInStore(<ToolTimelineAdapter entries={[entryWithStatus('running')]} />);
expect(screen.getByTestId('worker-thread-status-badge').getAttribute('data-status')).toBe(
'running'
);
});
it('passes `completed` to the card when the parent entry succeeds', () => {
- render(<ToolTimelineAdapter entries={[entryWithStatus('success')]} />);
+ renderInStore(<ToolTimelineAdapter entries={[entryWithStatus('success')]} />);
expect(screen.getByTestId('worker-thread-status-badge').getAttribute('data-status')).toBe(
'completed'
);
});
it('passes `failed` to the card when the parent entry errors', () => {
- render(<ToolTimelineAdapter entries={[entryWithStatus('error')]} />);
+ renderInStore(<ToolTimelineAdapter entries={[entryWithStatus('error')]} />);
expect(screen.getByTestId('worker-thread-status-badge').getAttribute('data-status')).toBe(
'failed'
);