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 04:03:27 UTC
[superset] branch lyndsi/ControlPanelsContainer-act-cleanup created (now 17c56f7b13)
This is an automated email from the ASF dual-hosted git repository.
lyndsi pushed a change to branch lyndsi/ControlPanelsContainer-act-cleanup
in repository https://gitbox.apache.org/repos/asf/superset.git
at 17c56f7b13 7 act errors removed from ControlPanelsContainer test
This branch includes the following new commits:
new 17c56f7b13 7 act errors removed from ControlPanelsContainer 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: 7 act errors removed from ControlPanelsContainer 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/ControlPanelsContainer-act-cleanup
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 17c56f7b1371df3715afa0fdbf1607c42edd7afa
Author: lyndsiWilliams <kc...@gmail.com>
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);
});
});