Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy committed Dec 31, 2024
1 parent bed8db9 commit 9dbd4af
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,6 @@ describe('<DataGrid /> - Row selection', () => {
await user.keyboard('{Shift>}[ArrowDown]{/Shift}');
expect(getSelectedRowIds()).to.deep.equal([2, 3]);

await user.click(getCell(3, 1));
await user.keyboard('{ArrowDown}');
expect(getSelectedRowIds()).to.deep.equal([2, 3]); // Already on the last row
});
Expand Down Expand Up @@ -542,7 +541,7 @@ describe('<DataGrid /> - Row selection', () => {
await user.keyboard('{Shift>}[ArrowDown]{/Shift}');
expect(getSelectedRowIds()).to.deep.equal([1, 2, 3]);

await user.keyboard('{ArrowDown/}');
await user.keyboard('{ArrowDown}');
expect(getSelectedRowIds()).to.deep.equal([1, 2, 3]); // Already on the last row
});

Expand Down

0 comments on commit 9dbd4af

Please sign in to comment.