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 } Margin = new MarginPadding { Top = 20 }
}); });
AddStep("show", () => AddStep("show", () => infoWedge.Show());
{
infoWedge.Show();
infoWedge.Beatmap = Beatmap.Value;
});
// select part is redundant, but wait for load isn't
selectBeatmap(Beatmap.Value.Beatmap); selectBeatmap(Beatmap.Value.Beatmap);
AddWaitStep("wait for select", 3); AddWaitStep("wait for select", 3);