mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
Wait for beatmap sets to finish loading to avoid test failures
Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
This commit is contained in:
parent
0ea7a69084
commit
0fa1a96e9d
@ -420,7 +420,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
|||||||
((MultiplayerMatchSubScreen)currentSubScreen).SelectBeatmap();
|
((MultiplayerMatchSubScreen)currentSubScreen).SelectBeatmap();
|
||||||
});
|
});
|
||||||
|
|
||||||
AddUntilStep("wait for song select", () => this.ChildrenOfType<MultiplayerMatchSongSelect>().FirstOrDefault()?.IsLoaded == true);
|
AddUntilStep("wait for song select", () => this.ChildrenOfType<MultiplayerMatchSongSelect>().FirstOrDefault()?.BeatmapSetsLoaded == true);
|
||||||
|
|
||||||
AddAssert("Beatmap matches current item", () => Beatmap.Value.BeatmapInfo.OnlineID == client.Room?.Playlist.First().BeatmapID);
|
AddAssert("Beatmap matches current item", () => Beatmap.Value.BeatmapInfo.OnlineID == client.Room?.Playlist.First().BeatmapID);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user