diff --git a/web/src/components/AssistantChat/HappyThread.test.tsx b/web/src/components/AssistantChat/HappyThread.test.tsx index 4157ec33..d6da762e 100644 --- a/web/src/components/AssistantChat/HappyThread.test.tsx +++ b/web/src/components/AssistantChat/HappyThread.test.tsx @@ -121,7 +121,9 @@ describe('ConversationOutlinePanel', () => { const onClose = vi.fn() renderPanel({ onClose }) - fireEvent.click(screen.getByRole('button', { name: 'Close' })) + const closeButton = screen.getByRole('button', { name: 'Close' }) + expect(closeButton).toHaveClass('border', 'rounded-md', 'h-9', 'w-9') + fireEvent.click(closeButton) expect(onClose).toHaveBeenCalledTimes(1) }) diff --git a/web/src/components/AssistantChat/HappyThread.tsx b/web/src/components/AssistantChat/HappyThread.tsx index 79603504..9de833c6 100644 --- a/web/src/components/AssistantChat/HappyThread.tsx +++ b/web/src/components/AssistantChat/HappyThread.tsx @@ -301,15 +301,16 @@ export function ConversationOutlinePanel(props: { )} ) : null} - + {normalizedSearchQuery.length > 0 ? (