We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0c26e1 commit 232aa5aCopy full SHA for 232aa5a
MaterialDesignThemes.UITests/WPF/ListBoxes/ListBoxTests.cs
@@ -168,7 +168,7 @@ public async Task OnToggle_ShouldGrabFocus()
168
var listBoxItem = await listBox.GetElement<ListBoxItem>("/ListBoxItem[2]");
169
170
await textBox.LeftClick();
171
- Assert.True(await textBox.GetIsKeyboardFocusWithin());
+ await Wait.For(async () => Assert.True(await textBox.GetIsKeyboardFocusWithin()));
172
173
// Act
174
await listBoxItem.LeftClick();
0 commit comments