mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
In gameplay bindings test, ensure a selection is made before attempting to enter gameplay
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user