Skip to content

Commit 2e9d31f

Browse files
committed
Restructured test
1 parent 9f2df54 commit 2e9d31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/LinkDotNet.Blog.IntegrationTests/Web/Shared/Skills/SkillTableTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public async Task ShouldUpdateProficiencyWhenSkillTagDragged()
8989
ctx.Services.AddScoped(_ => Mock.Of<IToastService>());
9090
var cut = ctx.RenderComponent<SkillTable>(p =>
9191
p.Add(s => s.IsAuthenticated, true));
92-
cut.WaitForElement(".skill-tag");
92+
cut.WaitForState(() => cut.FindAll(".skill-tag").Any());
9393

9494
cut.FindAll(".skill-tag")[0].Drag();
9595
cut.FindAll(".proficiency-level")[1].Drop();

0 commit comments

Comments
 (0)