From 829fa865e785f7dc985d55e549ee52371111277e Mon Sep 17 00:00:00 2001 From: Brad Groux <3053586+BradGroux@users.noreply.github.com> Date: Fri, 4 Sep 2026 06:21:15 -0500 Subject: [PATCH] test: respect responsive chat placement in component assertion --- web/src/__tests__/activity-chat-mantine.test.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/__tests__/activity-chat-mantine.test.tsx b/web/src/__tests__/activity-chat-mantine.test.tsx index e86d3db7..f35b4281 100644 --- a/web/src/__tests__/activity-chat-mantine.test.tsx +++ b/web/src/__tests__/activity-chat-mantine.test.tsx @@ -272,7 +272,9 @@ describe('activity and chat Mantine migration', () => { expect(await screen.findByText('Board Chat')).toBeDefined(); expect(screen.getByText('Ready to help with the board.')).toBeDefined(); const chatTrigger = screen.getByLabelText('Open chat'); - expect(chatTrigger.style.position).toBe('fixed'); + // Responsive CSS owns placement; inline fixed positioning would override mobile navigation. + expect(chatTrigger.style.position).toBe(''); + expect(chatTrigger.textContent).toContain('Chat'); expect(chatTrigger.className).toContain('floating-chat-trigger'); expect(baseElement.querySelector('[data-overlay-variant="chat"]')).not.toBeNull(); expect(baseElement.querySelector('.mantine-TextInput-root')).toBeDefined();