diff --git a/osu.Game.Tests/Visual/Multiplayer/TestSceneMatchStartControl.cs b/osu.Game.Tests/Visual/Multiplayer/TestSceneMatchStartControl.cs index a374488306..f0a2a28b34 100644 --- a/osu.Game.Tests/Visual/Multiplayer/TestSceneMatchStartControl.cs +++ b/osu.Game.Tests/Visual/Multiplayer/TestSceneMatchStartControl.cs @@ -143,26 +143,6 @@ namespace osu.Game.Tests.Visual.Multiplayer AddAssert("countdown button enabled", () => this.ChildrenOfType().Single().Enabled.Value); } - [Test] - public void TestSpectatingDuringCountdownWithNoReadyUsersCancelsCountdown() - { - ClickButtonWhenEnabled(); - AddUntilStep("countdown button shown", () => this.ChildrenOfType().SingleOrDefault()?.IsPresent == true); - ClickButtonWhenEnabled(); - AddStep("click the first countdown button", () => - { - var popoverButton = this.ChildrenOfType().Single().ChildrenOfType().First(); - InputManager.MoveMouseTo(popoverButton); - InputManager.Click(MouseButton.Left); - }); - - AddStep("set spectating", () => MultiplayerClient.ChangeUserState(API.LocalUser.Value.OnlineID, MultiplayerUserState.Spectating)); - AddUntilStep("local user is spectating", () => MultiplayerClient.LocalUser?.State == MultiplayerUserState.Spectating); - - AddStep("finish countdown", () => MultiplayerClient.SkipToEndOfCountdown()); - AddUntilStep("match not started", () => MultiplayerClient.Room?.State == MultiplayerRoomState.Open); - } - [Test] public void TestReadyButtonEnabledWhileSpectatingDuringCountdown() {