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:32 UTC

[superset] branch lyndsi/DataTablesPane-act-cleanup created (now 6e6ae3d368)

This is an automated email from the ASF dual-hosted git repository.

lyndsi pushed a change to branch lyndsi/DataTablesPane-act-cleanup
in repository https://gitbox.apache.org/repos/asf/superset.git


      at 6e6ae3d368 1 act error removed from DataTablesPane test

This branch includes the following new commits:

     new 6e6ae3d368 1 act error removed from DataTablesPane test

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[superset] 01/01: 1 act error removed from DataTablesPane test

Posted by ly...@apache.org.
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();
   });