You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WinUI runtime tests fail on master: RTF stream tests and When_MouseMove #26204
The WinUI Runtime Tests leg is failing on master, in two unrelated ways:
Since fix(sdk)!: Bundle WinAppSDK only in unpackaged heads #26106:Given_RichEditBox.When_Empty_Document_Rtf_Stream_Has_Native_Null_Terminator and When_Rtf_Stream_Save_Uses_Byte_Rtf_And_Restores_Position fail on every run. SamplesApp's MSIX became framework-dependent with MinVersion="2.4.0.0", so it binds to the newest runtime on the agent (Microsoft.WindowsAppRuntime.2_2.6.4.0), not the referenced 2.4.0. That runtime's RichEdit inverts the trailing NUL of RTF output.
Flaky before that too:Given_InputInjector.When_MouseMove_PointerEventsAreRaised fails intermittently. WinUI coalesces injected moves, and the first update over an element raises only PointerEntered, so PointerMoved is sometimes never raised.
Expected behavior 🎯
WinUI runtime tests run against the Windows App SDK version the repo references, and the mouse test passes deterministically.
How to reproduce it (as minimally and precisely as possible) 🔬
See build 244529 (master, 3 failures) against 244524 (the previous master build, 0 failures), or run the tests with /winui-runtime-tests on a machine with a newer Windows App Runtime installed.
Workaround 🛠️
None needed beyond re-running for the flaky test. The RTF failures don't go away on re-run.
Activity
chore: Run WinUI tests on referenced WinAppSDK