1
0
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:
Dean Herbert
2025-06-10 12:47:35 +09:00
committed by GitHub
Unverified
2 changed files with 7 additions and 2 deletions
@@ -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();