Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(desktop): r4-l1 cover full search placeholder

Josué435132b7b189
diff --git a/desktop-app/ui/src/components/AppHeader/__tests__/notifications.test.tsx b/desktop-app/ui/src/components/AppHeader/__tests__/notifications.test.tsx
index fddb1412f..9bf06a244 100644
--- a/desktop-app/ui/src/components/AppHeader/__tests__/notifications.test.tsx
+++ b/desktop-app/ui/src/components/AppHeader/__tests__/notifications.test.tsx
@@ -228,4 +228,18 @@ describe('AppHeader notification tray presentation', () => {
'Search teams, contexts, members, agents or connectors...'
)
})
+
+ it('uses the full search label above the constrained-width breakpoint', () => {
+ vi.stubGlobal('innerWidth', 1400)
+
+ render(<AppHeader />)
+
+ const search = screen.getByRole('textbox', { name: 'Search' })
+ expect(search.getAttribute('placeholder')).toBe(
+ 'Search teams, contexts, members, agents or connectors...'
+ )
+ expect(search.getAttribute('title')).toBe(
+ 'Search teams, contexts, members, agents or connectors...'
+ )
+ })
})