Skip to content

Commit

Permalink
Merge pull request #18981 from peppy/fix-beatmap-info-wedge-test
Browse files Browse the repository at this point in the history
Fix `BeatmapInfoWedge` test potentially failing due to quick initial load
  • Loading branch information
smoogipoo authored Jul 3, 2022
2 parents ca75d5f + 1a14808 commit 982bcc4
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,8 @@ protected override void LoadComplete()
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);
Expand Down

0 comments on commit 982bcc4

Please sign in to comment.