Fix intermittent beatmap recommendations test

This commit is contained in:
Dan Balasescu 2024-11-06 20:39:10 +09:00
parent 35397d90af
commit 35d004cdc2
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ private void presentAndConfirm(Func<BeatmapSetInfo> getImport, int expectedDiff)
{
AddStep("present beatmap", () => Game.PresentBeatmap(getImport()));
AddUntilStep("wait for song select", () => Game.ScreenStack.CurrentScreen is Screens.Select.SongSelect);
AddUntilStep("wait for song select", () => Game.ScreenStack.CurrentScreen is Screens.Select.SongSelect select && select.BeatmapSetsLoaded);
AddUntilStep("recommended beatmap displayed", () => Game.Beatmap.Value.BeatmapInfo.MatchesOnlineID(getImport().Beatmaps[expectedDiff - 1]));
}
}