diff --git a/apps/app/src/client/components/DescendantsPageListModal.spec.tsx b/apps/app/src/client/components/DescendantsPageListModal.spec.tsx index 3d465c3c25f..a81da6ee461 100644 --- a/apps/app/src/client/components/DescendantsPageListModal.spec.tsx +++ b/apps/app/src/client/components/DescendantsPageListModal.spec.tsx @@ -59,7 +59,7 @@ describe('DescendantsPageListModal.tsx', () => { it('should render CustomNavDropdown on devices smaller than lg', () => { render(); - expect(screen.queryByTestId('custom-nav-dropdown')).not.toBeNull(); + expect(screen.getByTestId('custom-nav-dropdown')).not.toBeNull(); }); it('should not render CustomNavTab', () => {