Fix test step not being until when it needs to be

This commit is contained in:
Dean Herbert 2022-01-17 19:45:32 +09:00
parent a80e461000
commit 0ba0b5f11a

View File

@ -135,7 +135,7 @@ namespace osu.Game.Tests.Visual.Online
scoresContainer.Scores = allScores; scoresContainer.Scores = allScores;
}); });
AddAssert("best score not displayed", () => scoresContainer.ChildrenOfType<DrawableTopScore>().Count() == 1); AddUntilStep("best score not displayed", () => scoresContainer.ChildrenOfType<DrawableTopScore>().Count() == 1);
} }
private int onlineID = 1; private int onlineID = 1;