diff --git a/src/plugins/data_explorer/public/components/sidebar/index.test.tsx b/src/plugins/data_explorer/public/components/sidebar/index.test.tsx index 220c9ae45ef2..63811a5fd3eb 100644 --- a/src/plugins/data_explorer/public/components/sidebar/index.test.tsx +++ b/src/plugins/data_explorer/public/components/sidebar/index.test.tsx @@ -90,24 +90,6 @@ describe('Sidebar Component', () => { }); }); - it('shows a modal when clicking a non-index pattern data source', () => { - const { getByText, getByTestId } = render( - - - - ); - - fireEvent.click(getByTestId('comboBoxToggleListButton')); - waitFor(() => { - expect(getByText('s3-prod-mock')).toBeInTheDocument(); - fireEvent.click(getByText('s3-prod-mock')); - expect(getByText('Open in Log Explorer')).toBeInTheDocument(); - expect(getByText('Cancel')).toBeInTheDocument(); - fireEvent.click(getByText('Cancel')); - expect(getByText('Open in Log Explorer')).not.toBeInTheDocument(); - }); - }); - it('redirects to log explorer when clicking open-in-log-explorer button', () => { const history = createMemoryHistory(); const { getByText, getByTestId } = render(