Skip to content

Commit 65f03e8

Browse files
authored
test: add missing resetMouse to tests using sendMouse (#8655)
1 parent f05e3c7 commit 65f03e8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎packages/grid/test/scroll-into-view.test.js‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect } from '@vaadin/chai-plugins';
2-
import { sendKeys, sendMouse } from '@vaadin/test-runner-commands';
2+
import { resetMouse, sendKeys, sendMouse } from '@vaadin/test-runner-commands';
33
import { fixtureSync, nextFrame } from '@vaadin/testing-helpers';
44
import '../vaadin-grid.js';
55
import { flushGrid, getContainerCell, getLastVisibleItem, getPhysicalItems } from './helpers.js';
@@ -48,6 +48,10 @@ describe('scroll into view', () => {
4848
secondDetailsCell = getLastVisibleItem(grid).querySelector('[part~="details-cell"]');
4949
});
5050

51+
afterEach(async () => {
52+
await resetMouse();
53+
});
54+
5155
it('should scroll row into view when focusing programmatically', () => {
5256
verifyRowNotFullyVisible(grid, 1);
5357

0 commit comments

Comments
 (0)