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 438d0f7 commit e76b913Copy full SHA for e76b913
test/UnitTest/Components/TableTest.cs
@@ -992,8 +992,9 @@ public async Task PageItemsSource_Ok()
992
});
993
994
995
- var pager = cut.FindComponent<Pagination>();
996
- await cut.InvokeAsync(() => pager.Instance.OnPageLinkClick!.Invoke(2));
+ var items = cut.FindAll(".page-link");
+ await cut.InvokeAsync(() => items[2].Click());
997
+
998
var activePage = cut.Find(".page-item.active");
999
Assert.Equal("2", activePage.TextContent);
1000
}
0 commit comments