You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ly...@apache.org on 2022/09/09 05:48:33 UTC
[superset] 01/01: 1 act error removed from DataTablesPane test
This is an automated email from the ASF dual-hosted git repository.
lyndsi pushed a commit to branch lyndsi/DataTablesPane-act-cleanup
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 6e6ae3d368efe566995b6564eca333c183e916cf
Author: lyndsiWilliams <kc...@gmail.com>
AuthorDate: Fri Sep 9 00:48:12 2022 -0500
1 act error removed from DataTablesPane test
---
.../explore/components/DataTablesPane/test/DataTablesPane.test.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/superset-frontend/src/explore/components/DataTablesPane/test/DataTablesPane.test.tsx b/superset-frontend/src/explore/components/DataTablesPane/test/DataTablesPane.test.tsx
index c5d9d0c7bb..1b4436b80e 100644
--- a/superset-frontend/src/explore/components/DataTablesPane/test/DataTablesPane.test.tsx
+++ b/superset-frontend/src/explore/components/DataTablesPane/test/DataTablesPane.test.tsx
@@ -39,10 +39,10 @@ describe('DataTablesPane', () => {
localStorage.clear();
});
- test('Rendering DataTablesPane correctly', () => {
+ test('Rendering DataTablesPane correctly', async () => {
const props = createDataTablesPaneProps(0);
render(<DataTablesPane {...props} />, { useRedux: true });
- expect(screen.getByText('Results')).toBeVisible();
+ expect(await screen.findByText('Results')).toBeVisible();
expect(screen.getByText('Samples')).toBeVisible();
expect(screen.getByLabelText('Expand data panel')).toBeVisible();
});