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

kasiazjc pushed a commit to branch fix-sentence-case-buttons
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/fix-sentence-case-buttons by 
this push:
     new cf388bc4de3 fix: update Tabs test to match sentence case Delete button 
label
cf388bc4de3 is described below

commit cf388bc4de3e925b8540436eceb2e0138dd17d1d
Author: kasiazjc <[email protected]>
AuthorDate: Tue May 26 16:22:28 2026 +0000

    fix: update Tabs test to match sentence case Delete button label
---
 .../src/dashboard/components/gridComponents/Tabs/Tabs.test.tsx          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/superset-frontend/src/dashboard/components/gridComponents/Tabs/Tabs.test.tsx 
b/superset-frontend/src/dashboard/components/gridComponents/Tabs/Tabs.test.tsx
index f50cf3aa318..55bea85deea 100644
--- 
a/superset-frontend/src/dashboard/components/gridComponents/Tabs/Tabs.test.tsx
+++ 
b/superset-frontend/src/dashboard/components/gridComponents/Tabs/Tabs.test.tsx
@@ -246,7 +246,7 @@ test('Removing a tab', async () => {
   expect(await screen.findByText('Delete dashboard tab?')).toBeInTheDocument();
 
   expect(props.deleteComponent).not.toHaveBeenCalled();
-  userEvent.click(screen.getByRole('button', { name: 'DELETE' }));
+  userEvent.click(screen.getByRole('button', { name: 'Delete' }));
   expect(props.deleteComponent).toHaveBeenCalled();
 });
 

Reply via email to