mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:52:55 +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:
parent
426c53fe65
commit
1a14808c39
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user