Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rajat19 committed Nov 10, 2024
1 parent 59a256b commit e8f9ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x-data-grid/src/tests/toolbar.DataGrid.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ describe('<DataGrid /> - Toolbar', () => {

fireEvent.click(screen.getByText('Columns'));

const searchInput = document.querySelector('input[type="text"]')!;
const searchInput = document.querySelector('input[type="search"]')!;
fireEvent.change(searchInput, { target: { value: 'test' } });

expect(document.querySelector('[role="tooltip"] [name="id"]')).not.to.equal(null);
Expand Down

0 comments on commit e8f9ce5

Please sign in to comment.