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 57e32c2 commit 677e723Copy full SHA for 677e723
test/UnitTest/Components/TableNumberFilterTest.cs
@@ -22,6 +22,19 @@ public async Task OnFilterAsync_Ok()
22
23
var action = cut.Find(".dropdown-item");
24
await cut.InvokeAsync(() => action.Click());
25
+
26
+ // check filter
27
+ var filter = cut.Instance;
28
+ var conditions = filter.FilterAction.GetFilterConditions();
29
+ Assert.Single(conditions.Filters);
30
31
+ // trigger onclear
32
+ var clear = cut.Find(".btn-ban");
33
+ await cut.InvokeAsync(() => clear.Click());
34
35
36
+ conditions = filter.FilterAction.GetFilterConditions();
37
+ Assert.Empty(conditions.Filters);
38
}
39
40
[Fact]
0 commit comments