diff --git a/plugins/search/src/components/SearchModal/SearchModal.test.tsx b/plugins/search/src/components/SearchModal/SearchModal.test.tsx index 4629017408..6a17276d3b 100644 --- a/plugins/search/src/components/SearchModal/SearchModal.test.tsx +++ b/plugins/search/src/components/SearchModal/SearchModal.test.tsx @@ -151,22 +151,6 @@ describe('SearchModal', () => { expect(toggleModal).toHaveBeenCalledTimes(1); }); - it('should render SearchModal hiding its content', async () => { - const { getByTestId } = await renderInTestApp( - - , - { - mountedRoutes: { - '/search': rootRouteRef, - }, - }, - ); - - expect(getByTestId('search-bar-next')).toBeInTheDocument(); - expect(getByTestId('search-bar-next')).not.toBeVisible(); - }); - it('should focus on its search bar when opened', async () => { await renderInTestApp(