mirror of
https://github.com/jetkvm/kvm.git
synced 2026-05-21 05:20:35 +00:00
71db3b91ab
* fix: add settling delay in VideoStart() when waking from sleep mode (#519) * test: improve e2e test reliability and reduce flakiness - Replace fire-sleep-assert with polling in wheel scroll tests - Add retry loops for macro test and RPC setup after USB re-enumeration - Add waitForRpcReady helper to handle session dialogs and stale pages - Remove flaky paste modal UI test (redundant with keyboard scan tests) - Preserve SSH keys and dev mode across config resets in setup/teardown - Add saveSSHDevState/restoreSSHDevState helpers * fix: trim sysfs whitespace in getSleepMode() so sleep detection works Linux sysfs attributes include a trailing newline, so comparing raw content with "1" always returned false. Use strings.TrimSpace to match the convention used elsewhere in the codebase.