diff --git a/osu.Game.Rulesets.Mania.Tests/Editor/TestSceneManiaEditorSaving.cs b/osu.Game.Rulesets.Mania.Tests/Editor/TestSceneManiaEditorSaving.cs index 7b45d87c5e..b21928ef75 100644 --- a/osu.Game.Rulesets.Mania.Tests/Editor/TestSceneManiaEditorSaving.cs +++ b/osu.Game.Rulesets.Mania.Tests/Editor/TestSceneManiaEditorSaving.cs @@ -31,7 +31,7 @@ namespace osu.Game.Rulesets.Mania.Tests.Editor }); AddUntilStep("dialog visible", () => Game.ChildrenOfType().SingleOrDefault()?.CurrentDialog, Is.InstanceOf); AddStep("refuse", () => InputManager.Key(Key.Number2)); - AddAssert("key count is 5", () => keyCount.Current.Value, () => Is.EqualTo(5)); + AddUntilStep("key count is 5", () => keyCount.Current.Value, () => Is.EqualTo(5)); AddStep("change key count to 8 again", () => { @@ -58,7 +58,7 @@ namespace osu.Game.Rulesets.Mania.Tests.Editor }); AddUntilStep("dialog visible", () => Game.ChildrenOfType().SingleOrDefault()?.CurrentDialog, Is.InstanceOf); AddStep("refuse", () => InputManager.Key(Key.Number2)); - AddAssert("key count is 5", () => keyCount.Current.Value, () => Is.EqualTo(5)); + AddUntilStep("key count is 5", () => keyCount.Current.Value, () => Is.EqualTo(5)); AddStep("set dual stages again", () => {