Add test coverage for crashing on dummy beatmap

This commit is contained in:
Bartłomiej Dach 2023-12-04 13:52:41 +01:00
parent d3e94cd5bf
commit 7c041df0f1
No known key found for this signature in database

View File

@ -274,6 +274,15 @@ namespace osu.Game.Tests.Visual.Navigation
switchToGameplayScene();
}
[Test]
public void TestOpenSkinEditorGameplaySceneWhenDummyBeatmapActive()
{
AddStep("set dummy beatmap", () => Game.Beatmap.SetDefault());
openSkinEditor();
switchToGameplayScene();
}
private void advanceToSongSelect()
{
PushAndConfirm(() => songSelect = new TestPlaySongSelect());