Stabilize task detail progress tab test

This commit is contained in:
Brad Groux 2026-06-12 02:54:18 -05:00
parent 7bbfa56641
commit 6f67ef6ac7

View file

@ -215,8 +215,10 @@ describe('task detail Mantine migration', () => {
expect(mocks.updateField).toHaveBeenCalledWith('title', 'Renamed task');
await waitFor(() => expect(progressTab.getAttribute('aria-selected')).toBe('true'));
expect(await screen.findByText('Progress Notes')).toBeDefined();
expect(await screen.findByText('Mantine task detail renders')).toBeDefined();
expect(await screen.findByText('Progress Notes', {}, { timeout: 5000 })).toBeDefined();
expect(
await screen.findByText('Mantine task detail renders', {}, { timeout: 5000 })
).toBeDefined();
expect(baseElement.querySelector('.mantine-Paper-root')).toBeDefined();
expect(baseElement.querySelector('[data-slot="textarea"]')).toBeNull();
});