1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 06:29:54 +08:00

Add failing sample playback disabled check

This commit is contained in:
Joseph Madamba
2022-07-09 12:10:18 -07:00
Unverified
parent 315a73fb1b
commit 5fcc4bf713
@@ -24,6 +24,7 @@ namespace osu.Game.Tests.Visual.Editing
public void TestCantExitWithoutSaving()
{
AddRepeatStep("Exit", () => InputManager.Key(Key.Escape), 10);
AddAssert("Sample playback disabled", () => Editor.SamplePlaybackDisabled.Value);
AddAssert("Editor is still active screen", () => Game.ScreenStack.CurrentScreen is Editor);
}