ui-tests-migration

Installation
SKILL.md

PowerToys UI-Tests Migration (legacy → .Next)

Legacy retirement: main no longer contains src/common/UITestAutomation or its test projects. Use the existing .Next suites and Scenario B for current development. Scenario A and the legacy comparisons in this skill are historical guidance for older branches; do not restore the retired framework or tests. Existing .Next project names remain unchanged.

Convert a PowerToys module's UI tests from the legacy WinAppDriver / Selenium / Appium harness (Microsoft.PowerToys.UITest, in src/common/UITestAutomation/) to the new winappcli harness (Microsoft.PowerToys.UITest.Next, in src/common/UITestAutomation.Next/).

The new harness shells out to winapp.exe and parses its JSON — no WinAppDriver server on :4723, no Selenium/Appium NuGet packages, no WindowsElement/WindowsDriver. The public shape (UITestBase, Session, Find<T>, By, element wrappers like ToggleSwitch) is deliberately similar, so most of the work is mechanical API mapping plus reworking a few patterns that don't translate one-to-one (XPath selectors, stateful elements, instance mouse/keyboard helpers).

When to use this skill

Installs
7
GitHub Stars
141.5K
First Seen
Jul 15, 2026