Adopt Theme 1.0.0 with supported dark palette
This commit is contained in:
+2
-3
@@ -143,7 +143,7 @@ public class NotificationReportDetailModalTests : BunitContext
|
||||
|
||||
/// <summary>Verifies that close button, dismisses modal.</summary>
|
||||
[Fact]
|
||||
public void CloseButton_DismissesModal()
|
||||
public async Task CloseButton_DismissesModal()
|
||||
{
|
||||
var cut = Render<NotificationReportPage>();
|
||||
cut.WaitForState(() => cut.Markup.Contains("Pump fault at Plant-A"));
|
||||
@@ -154,8 +154,7 @@ public class NotificationReportDetailModalTests : BunitContext
|
||||
|
||||
cut.WaitForState(() => cut.FindAll(".modal.show").Count > 0);
|
||||
|
||||
var closeButton = cut.Find(".modal.show .modal-footer button");
|
||||
closeButton.Click();
|
||||
await cut.InvokeAsync(() => cut.Find(".modal.show .modal-footer button").Click());
|
||||
|
||||
cut.WaitForAssertion(() => Assert.Empty(cut.FindAll(".modal.show")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user