Skip to content

Commit 492f5aa

Browse files
committed
Removed flakiness from test
1 parent 181636a commit 492f5aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/LinkDotNet.Blog.IntegrationTests/Web/Features/Archive/ArchivePageTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public async Task ShouldOnlyShowPublishedBlogPosts()
4545

4646
var cut = ctx.RenderComponent<ArchivePage>();
4747

48+
cut.WaitForElements("h2");
4849
cut.FindAll("h2").Should().HaveCount(1);
4950
}
5051

0 commit comments

Comments
 (0)