diff --git a/tests/components/layout/app-shell.test.tsx b/tests/components/layout/app-shell.test.tsx index c769ba8..023257d 100644 --- a/tests/components/layout/app-shell.test.tsx +++ b/tests/components/layout/app-shell.test.tsx @@ -49,8 +49,13 @@ describe('AppShell', () => { expect(document.activeElement?.getAttribute('name')).toBe('q') }) - it('hides the search box for roles without an incident list', () => { + it('targets the site incident list for the SSA role', () => { const { container } = render() + expect(container.querySelector('header form')!.getAttribute('action')).toBe('/ssa/incidents') + }) + + it('hides the search box for roles without an incident list', () => { + const { container } = render() expect(container.querySelector('header form')).toBeNull() })