mirror of
https://github.com/ppy/osu.git
synced 2026-05-17 09:22:34 +08:00
Merge pull request #33586 from smoogipoo/fix-intermittent-mod-select-tests
Fix intermittent online play mod select tests
This commit is contained in:
@@ -59,9 +59,12 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
importedSet = beatmaps.GetAllUsableBeatmapSets().First();
|
||||
}
|
||||
|
||||
[SetUpSteps]
|
||||
public void SetupSteps()
|
||||
public override void SetUpSteps()
|
||||
{
|
||||
base.SetUpSteps();
|
||||
|
||||
AddUntilStep("wait for mod select removed", () => this.ChildrenOfType<MultiplayerUserModSelectOverlay>().Count(), () => Is.Zero);
|
||||
|
||||
AddStep("load match", () =>
|
||||
{
|
||||
room = new Room { Name = "Test Room" };
|
||||
|
||||
@@ -56,6 +56,8 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
{
|
||||
base.SetUpSteps();
|
||||
|
||||
AddUntilStep("wait for mod select removed", () => this.ChildrenOfType<FreeModSelectOverlay>().Count(), () => Is.Zero);
|
||||
|
||||
AddStep("reset", () =>
|
||||
{
|
||||
room = new Room();
|
||||
|
||||
Reference in New Issue
Block a user