Add failing sample playback disabled check

This commit is contained in:
Joseph Madamba 2022-07-09 12:10:18 -07:00
parent 315a73fb1b
commit 5fcc4bf713

View File

@ -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);
}