You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by en...@apache.org on 2026/08/27 13:13:03 UTC

(superset) 12/46: test(dashboard-v2): activate the Data tab before asserting the selection-follow generalization

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

EnxDev pushed a commit to branch enxdev/poc/dashboard-v2-editing-ui-flow
in repository https://gitbox.apache.org/repos/asf/superset.git

commit da8fd1ff72a89e6f17676450d8b75591563b4b69
Author: Enzo Martellucci <en...@gmail.com>
AuthorDate: Wed Aug 26 02:05:10 2026 +0200

    test(dashboard-v2): activate the Data tab before asserting the selection-follow generalization
---
 superset-frontend/src/pages/DashboardBuilderV2/EditorPanel.test.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/superset-frontend/src/pages/DashboardBuilderV2/EditorPanel.test.tsx b/superset-frontend/src/pages/DashboardBuilderV2/EditorPanel.test.tsx
index b9803ab13cc..c0f81b5fb5e 100644
--- a/superset-frontend/src/pages/DashboardBuilderV2/EditorPanel.test.tsx
+++ b/superset-frontend/src/pages/DashboardBuilderV2/EditorPanel.test.tsx
@@ -60,11 +60,12 @@ test('the data tab shows the placeholder dataset browser', async () => {
   expect(screen.getByTestId('data-panel')).toBeVisible();
 });
 
-test('selecting something while browsing data brings its properties forward too', () => {
+test('selecting something while browsing data brings its properties forward too', async () => {
   mount();
   const id = provider.addWidget(provider.getRoot().id, 0, {
     type: 'markdown',
   });
+  await userEvent.click(screen.getByRole('tab', { name: 'Data' }));
 
   act(() => provider.setSelection(id));