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 07315af commit 5a53e17Copy full SHA for 5a53e17
tests/MaterialDesignThemes.UITests/WPF/SplitButtons/SplitButtonTests.cs
@@ -97,9 +97,11 @@ public async Task SplitButton_WithButtonInPopup_CanBeInvoked()
97
await Task.Delay(50, TestContext.Current!.CancellationToken);
98
99
// Assert
100
- var invocations = await clickEvent.GetInvocations();
101
- await Assert.That(invocations).HasSingleItem();
102
-
+ await Wait.For(async () =>
+ {
+ var invocations = await clickEvent.GetInvocations();
103
+ await Assert.That(invocations).HasSingleItem();
104
+ });
105
recorder.Success();
106
}
107
0 commit comments