mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Add failing sample playback disabled check
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user