test: Infnite layout loop on SystemFocusVisual
This commit is contained in:
Родитель
9817a077de
Коммит
0e8f01ba3b
|
@ -177,5 +177,15 @@ public class Given_SystemFocusVisual
|
|||
Assert.AreEqual(focusPoint.X, buttonPoint.X);
|
||||
Assert.AreEqual(focusPoint.Y, buttonPoint.Y);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
[RequiresFullWindow]
|
||||
public async Task When_Keyboard_Focus()
|
||||
{
|
||||
// This sequence on full window test previously caused infinite layout loop
|
||||
var button = new Button() { Content = "Test" };
|
||||
await UITestHelper.Load(button);
|
||||
button.Focus(FocusState.Keyboard);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче