1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:23:22 +08:00

Fix BeatmapInfoWedge test potentially failing due to quick initial load

Was doing a comparison of previous vs new content after explicitly doing
a load in a previous step.
This commit is contained in:
Dean Herbert 2022-07-02 13:03:13 +09:00
parent 426c53fe65
commit 1a14808c39

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);