Skip to content

Commit

Permalink
Update packages/x-data-grid-pro/src/tests/editComponents.DataGridPro.…
Browse files Browse the repository at this point in the history
…test.tsx

Co-authored-by: Jan Potoms <2109932+Janpot@users.noreply.github.com>
Signed-off-by: Lukas Tyla <llukas.tyla@gmail.com>
  • Loading branch information
LukasTy and Janpot authored Jan 31, 2025
1 parent ee62e4d commit d05549a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ describe('<DataGridPro /> - Edit components', () => {
await user.dblClick(cell);
await user.click(screen.queryAllByRole('option')[1]);
expect(screen.queryByRole('listbox')).to.equal(null);
await act(() => {
await act(async () => {
screen.getByRole('combobox').focus();
});
await user.keyboard('{Enter}');
Expand Down

0 comments on commit d05549a

Please sign in to comment.