mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
In gameplay bindings test, ensure a selection is made before attempting to enter gameplay
This commit is contained in:
parent
d8270fe14f
commit
90a7dd7711
@ -50,8 +50,11 @@ namespace osu.Game.Tests.Visual.Navigation
|
||||
AddStep("close settings", () => Game.Settings.Hide());
|
||||
|
||||
AddStep("import beatmap", () => BeatmapImportHelper.LoadQuickOszIntoOsu(Game).WaitSafely());
|
||||
|
||||
PushAndConfirm(() => new PlaySongSelect());
|
||||
|
||||
AddUntilStep("wait for selection", () => !Game.Beatmap.IsDefault);
|
||||
|
||||
AddStep("enter gameplay", () => InputManager.Key(Key.Enter));
|
||||
|
||||
AddUntilStep("wait for gameplay", () => player?.IsBreakTime.Value == false);
|
||||
|
Loading…
Reference in New Issue
Block a user