We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4665242 + 9b1d5d1 commit fcc46a7Copy full SHA for fcc46a7
src/Uno.UI.RuntimeTests/Tests/Uno_UI_Xaml_Controls/Given_SystemFocusVisual.cs
@@ -177,5 +177,15 @@ public async Task When_Focused_Element_Transformed()
177
Assert.AreEqual(focusPoint.X, buttonPoint.X);
178
Assert.AreEqual(focusPoint.Y, buttonPoint.Y);
179
}
180
+
181
+ [TestMethod]
182
+ [RequiresFullWindow]
183
+ public async Task When_Keyboard_Focus()
184
+ {
185
+ // This sequence on full window test previously caused infinite layout loop
186
+ var button = new Button() { Content = "Test" };
187
+ await UITestHelper.Load(button);
188
+ button.Focus(FocusState.Keyboard);
189
+ }
190
191
#endif
0 commit comments