refactor(web): replace emoji-mart with self-hosted Frimousse picker (#42469)

This commit is contained in:
Stephen Zhou authored and GitHub committed 2026-09-18 03:04:57 +00:00
1 parent 6d88df5d7c
commit 228541c15d
39 files changed
+2376 -472

No files matched your search

@@ -127,15 +127,15 @@ describe('AgentDetailSection', () => {
})
it('renders the current agent avatar, name, and role', () => {
const { container } = renderAgentDetailSection()
renderAgentDetailSection()
const agentName = screen.getByText('Research Agent')
const agentAvatar = container.querySelector('em-emoji')?.parentElement
const agentAvatar = screen.getByText('🧪')
expect(agentName).toBeInTheDocument()
expect(screen.getByText('Research Assistant')).toBeInTheDocument()
expect(screen.queryByText('agent')).not.toBeInTheDocument()
expect(screen.queryByText('agentV2.agentDetail.title')).not.toBeInTheDocument()
expect(container.querySelector('em-emoji')).toHaveAttribute('id', '🧪')
expect(agentAvatar).toHaveTextContent('🧪')
expect(agentAvatar).toHaveClass('h-10', 'w-10', 'rounded-full')
})