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 6748605 commit 96ec39cCopy full SHA for 96ec39c
test/UnitTest/Components/DialogTest.cs
@@ -58,13 +58,17 @@ await cut.InvokeAsync(() => dialog.Show(new DialogOption()
58
ShowExportPdfButton = true,
59
ShowExportPdfButtonInHeader = true,
60
ExportPdfButtonOptions = new(),
61
+ IsFade = false,
62
OnCloseAsync = () =>
63
{
64
closed = true;
65
return Task.CompletedTask;
66
}
67
}));
68
69
+ // 由于设置了 IsFade=false Modal 不应该渲染 fade 样式
70
+ Assert.DoesNotContain("modal fade", modal.Markup);
71
+
72
// 由于设置了 ShowMaximizeButton 导致 ShowResize 参数失效
73
Assert.DoesNotContain("<svg", cut.Markup);
74
Assert.Contains("data-bs-backdrop=\"static\"", cut.Markup);
0 commit comments