Merge pull request #18981 from peppy/fix-beatmap-info-wedge-test

Fix `BeatmapInfoWedge` test potentially failing due to quick initial load
This commit is contained in:
Dan Balasescu
2022-07-03 13:10:16 +09:00
committed by GitHub

View File

@ -53,13 +53,8 @@ namespace osu.Game.Tests.Visual.SongSelect
Margin = new MarginPadding { Top = 20 }
});
AddStep("show", () =>
{
infoWedge.Show();
infoWedge.Beatmap = Beatmap.Value;
});
AddStep("show", () => infoWedge.Show());
// select part is redundant, but wait for load isn't
selectBeatmap(Beatmap.Value.Beatmap);
AddWaitStep("wait for select", 3);