mirror of https://github.com/ppy/osu
Fix intermittent beatmap recommendations test
This commit is contained in:
parent
35397d90af
commit
35d004cdc2
|
@ -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]));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue