From 86362d648c451a15c2309ad6ca069bd65e11ba2b Mon Sep 17 00:00:00 2001 From: lyndsiWilliams Date: Thu, 8 Sep 2022 00:38:14 -0500 Subject: [PATCH] 3 act errors removed from DatasetLayout test --- .../CRUD/data/dataset/DatasetLayout/DatasetLayout.test.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); });