mirror of
https://github.com/ppy/osu
synced 2024-12-15 19:36:34 +00:00
Add test coverage for crashing on dummy beatmap
This commit is contained in:
parent
d3e94cd5bf
commit
7c041df0f1
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user