Merge pull request #14982 from smoogipoo/fix-score-panel-test

Fix intermittent score panel test failure
This commit is contained in:
Dean Herbert 2021-10-06 17:56:18 +09:00 committed by GitHub
commit 622e81f47a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,6 +221,8 @@ namespace osu.Game.Tests.Visual.Ranking
list.SelectedScore.Value = middleScore;
});
AddUntilStep("wait for all scores to be visible", () => list.ChildrenOfType<ScorePanelTrackingContainer>().All(t => t.IsPresent));
assertScoreState(highestScore, false);
assertScoreState(middleScore, true);
assertScoreState(lowestScore, false);