From f2409c3bb98c0b92186ecd48207e7177820599fa Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" Date: Tue, 8 Feb 2022 15:41:51 -0300 Subject: [PATCH] Changes the button to sentence case --- .../FiltersConfigModal/FilterConfigPane.test.tsx | 4 ++-- .../nativeFilters/FiltersConfigModal/FilterTitlePane.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FilterConfigPane.test.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FilterConfigPane.test.tsx index 4b9e40d88794f..3188bbe771e33 100644 --- a/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FilterConfigPane.test.tsx +++ b/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FilterConfigPane.test.tsx @@ -100,7 +100,7 @@ test('remove filter', async () => { test('add filter', async () => { defaultRender(); // First trash icon - const addButton = screen.getByText('Add Filters and Dividers')!; + const addButton = screen.getByText('Add filters and dividers')!; fireEvent.mouseOver(addButton); const addFilterButton = await screen.findByText('Filter'); @@ -118,7 +118,7 @@ test('add filter', async () => { test('add divider', async () => { defaultRender(); - const addButton = screen.getByText('Add Filters and Dividers')!; + const addButton = screen.getByText('Add filters and dividers')!; fireEvent.mouseOver(addButton); const addFilterButton = await screen.findByText('Divider'); await act(async () => { diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FilterTitlePane.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FilterTitlePane.tsx index fa36417baff57..1a1f4cd121bb9 100644 --- a/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FilterTitlePane.tsx +++ b/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FilterTitlePane.tsx @@ -93,7 +93,7 @@ const FilterTitlePane: React.FC = ({
{' '} - {t('Add Filters and Dividers')} + {t('Add filters and dividers')}