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

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

commit 17c56f7b1371df3715afa0fdbf1607c42edd7afa
Author: lyndsiWilliams <[email protected]>
AuthorDate: Thu Sep 8 23:03:07 2022 -0500

    7 act errors removed from ControlPanelsContainer test
---
 .../src/explore/components/ControlPanelsContainer.test.tsx        | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git 
a/superset-frontend/src/explore/components/ControlPanelsContainer.test.tsx 
b/superset-frontend/src/explore/components/ControlPanelsContainer.test.tsx
index 6af860470c..2be8745fa1 100644
--- a/superset-frontend/src/explore/components/ControlPanelsContainer.test.tsx
+++ b/superset-frontend/src/explore/components/ControlPanelsContainer.test.tsx
@@ -97,10 +97,12 @@ describe('ControlPanelsContainer', () => {
     } as ControlPanelsContainerProps;
   }
 
-  it('renders ControlPanelSections', () => {
-    render(<ControlPanelsContainer {...getDefaultProps()} />);
+  test('renders ControlPanelSections', async () => {
+    render(<ControlPanelsContainer {...getDefaultProps()} />, {
+      useRedux: true,
+    });
     expect(
-      screen.getAllByTestId('collapsible-control-panel-header'),
+      await screen.findAllByTestId('collapsible-control-panel-header'),
     ).toHaveLength(4);
   });
 });

Reply via email to