Skip to content

Commit

Permalink
Changes the button to sentence case
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Feb 8, 2022
1 parent 8077915 commit f2409c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand All @@ -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 () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const FilterTitlePane: React.FC<Props> = ({
<Dropdown overlay={menu} arrow placement="topLeft" trigger={['hover']}>
<StyledAddBox>
<div data-test="new-dropdown-icon" className="fa fa-plus" />{' '}
<span>{t('Add Filters and Dividers')}</span>
<span>{t('Add filters and dividers')}</span>
</StyledAddBox>
</Dropdown>
<div
Expand Down

0 comments on commit f2409c3

Please sign in to comment.