Skip to content

Commit 2f34f9d

Browse files
committed
test(computer): complete pointer drift fixture
1 parent 4d1ffc9 commit 2f34f9d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/computer/tests/unit-test/device-security.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,11 @@ describe('ComputerDevice pointer input', () => {
412412
device.inputPrimitives.scroll!.scroll({
413413
scrollType: 'singleAction',
414414
direction: 'down',
415-
locate: { center: [400, 300] },
415+
locate: {
416+
description: 'scroll target',
417+
rect: { left: 390, top: 290, width: 20, height: 20 },
418+
center: [400, 300],
419+
},
416420
}),
417421
];
418422

0 commit comments

Comments
 (0)