Skip to content

Commit b6d1f1e

Browse files
test(grid-view): fix button label assertions
Co-Authored-By: [email protected] <[email protected]>
1 parent 14dc469 commit b6d1f1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/grid-view/__tests__/GridViewSlider.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ describe('components/grid-view/GridViewSlider', () => {
4444
test('should call onChange when clicking increase/decrease buttons', () => {
4545
const onChange = jest.fn();
4646
renderComponent({ onChange });
47-
const increaseButton = screen.getByRole('button', { name: 'Increase size' });
48-
const decreaseButton = screen.getByRole('button', { name: 'Decrease size' });
47+
const increaseButton = screen.getByRole('button', { name: 'Increase column size' });
48+
const decreaseButton = screen.getByRole('button', { name: 'Decrease column size' });
4949
expect(increaseButton).toBeInTheDocument();
5050
expect(decreaseButton).toBeInTheDocument();
5151
fireEvent.click(increaseButton);

0 commit comments

Comments
 (0)