diff --git a/superset-frontend/src/explore/components/ControlPanelsContainer.test.tsx b/superset-frontend/src/explore/components/ControlPanelsContainer.test.tsx
index 6af860470cce4..2be8745fa1936 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();
+ test('renders ControlPanelSections', async () => {
+ render(, {
+ useRedux: true,
+ });
expect(
- screen.getAllByTestId('collapsible-control-panel-header'),
+ await screen.findAllByTestId('collapsible-control-panel-header'),
).toHaveLength(4);
});
});