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 119a4ec commit 158f203Copy full SHA for 158f203
test/UnitTest/Components/MessageTest.cs
@@ -147,5 +147,10 @@ await cut.InvokeAsync(() => service.Show(new MessageOption()
147
Icon = "fa-solid fa-font-awesome",
148
DismissMode = MessageDismissMode.DeleteSource
149
}, cut.Instance));
150
+ var alert = cut.Find(".alert");
151
+ Assert.NotNull(alert);
152
+ Assert.NotNull(alert.Id);
153
+
154
+ await cut.Instance.Dismiss(alert.Id);
155
}
156
0 commit comments