mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
Make the test hold the button instead of pressing it
This commit is contained in:
parent
9a07a95d39
commit
da315f8a61
@ -169,7 +169,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
AddStep("click delete button", () =>
|
||||
{
|
||||
InputManager.MoveMouseTo(dialogOverlay.ChildrenOfType<DialogButton>().First());
|
||||
InputManager.Click(MouseButton.Left);
|
||||
InputManager.PressButton(MouseButton.Left);
|
||||
});
|
||||
|
||||
AddUntilStep("wait for fetch", () => leaderboard.Scores != null);
|
||||
|
Loading…
Reference in New Issue
Block a user