mirror of
https://github.com/BradGroux/veritas-kanban.git
synced 2026-08-28 02:44:59 +00:00
Stabilize task detail progress tab test
This commit is contained in:
parent
7bbfa56641
commit
6f67ef6ac7
1 changed files with 4 additions and 2 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue