mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +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