ui-tests-local-vm
Local VM UI testing
Run PowerToys .Next UI tests in a persistent, interactive Windows VM while keeping product and test
execution off the host. Use this skill as the execution complement to
ui-tests-migration. Restore the baseline checkpoint or recreate the
guest when clean-profile behavior must be validated.
The guest is a Hyper-V virtual machine. Nothing runs nested, so the same scaffold works on x64 and on Windows on ARM, where nested virtualization is unavailable to any Linux-hosted emulator.
The local correctness gate passes when the full suite is green on Windows 10 and on
Windows 11, in two separate VMs. Run Windows 10 Enterprise LTSC 2021 first for the fastest
feedback, then run the same unfiltered suite on Windows 11. Differences in the shell, compositor,
theming, and timing break tests that contain nothing Windows 11-specific, and those are exactly
the failures worth catching locally instead of in CI. On a Windows on ARM host, Windows 11 ARM64
is the only practical guest; run it with -Platform ARM64 and get the Windows 10 half from an x64 host.
Start guests with the default resource profile: 4 vCPUs and 8 GB RAM. Get the target suite fully
green before lowering resources with the Constrained profile (1 vCPU and 4 GB RAM).