diff --git a/superset-frontend/src/views/CRUD/data/dataset/DatasetLayout/DatasetLayout.test.tsx b/superset-frontend/src/views/CRUD/data/dataset/DatasetLayout/DatasetLayout.test.tsx index dbdc89e2aef21..0b6027ea474d7 100644 --- a/superset-frontend/src/views/CRUD/data/dataset/DatasetLayout/DatasetLayout.test.tsx +++ b/superset-frontend/src/views/CRUD/data/dataset/DatasetLayout/DatasetLayout.test.tsx @@ -39,12 +39,15 @@ describe('DatasetLayout', () => { expect(screen.getByText(/header/i)).toBeVisible(); }); - it('renders a LeftPanel when passed in', () => { + it('renders a LeftPanel when passed in', async () => { render( null} />} />, { useRedux: true }, ); + expect( + await screen.findByText(/select database & schema/i), + ).toBeInTheDocument(); expect(LeftPanel).toBeTruthy(); });