test(windows): normalize USB tablet input after baseline restore

This commit is contained in:
cabbage committed 2026-10-08 08:21:15 +00:00
1 parent 4f1ed41f9f
commit 6ccaaae3c7
2 files changed
+49

No files matched your search

+5
View File
@@ -393,6 +393,11 @@ case "$action" in
VBoxManage snapshot "$vm" restore "$snapshot" >/dev/null
step prepare-snapshot-restored
assert_identity
# Baselines may retain PS/2-only input. On this fixture VRDE mouse
# movement reached Windows, but PS/2 button clicks did not. Use an
# absolute USB tablet before boot; keep the keyboard unchanged.
VBoxManage modifyvm "$vm" --usb-ohci on --mouse usbtablet --vrde-property 'Client/DisableInput='
step prepare-virtual-input-configured
VBoxManage startvm "$vm" --type headless >/dev/null
step prepare-vm-started
wait_guest_additions