Add failing test coverage to TestSceneKeyBindingPanel for multiple non-modifiers being bound

This commit is contained in:
Dean Herbert 2022-11-18 15:34:26 +09:00
parent 45f5849301
commit cb8275ee75

View File

@ -40,6 +40,16 @@ namespace osu.Game.Tests.Visual.Settings
AddWaitStep("wait for scroll", 5);
}
[Test]
public void TestBindingTwoNonModifiers()
{
AddStep("press j", () => InputManager.PressKey(Key.J));
scrollToAndStartBinding("Increase volume");
AddStep("press k", () => InputManager.Key(Key.K));
AddStep("release j", () => InputManager.ReleaseKey(Key.J));
checkBinding("Increase volume", "K");
}
[Test]
public void TestBindingSingleKey()
{