mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 08:12:56 +08:00
Adjust collection deletion test to match new expectations
This commit is contained in:
parent
a0d093be5c
commit
26b9adbe0c
@ -200,10 +200,12 @@ namespace osu.Game.Tests.Visual.Collections
|
|||||||
AddStep("click confirmation", () =>
|
AddStep("click confirmation", () =>
|
||||||
{
|
{
|
||||||
InputManager.MoveMouseTo(dialogOverlay.CurrentDialog.ChildrenOfType<PopupDialogButton>().First());
|
InputManager.MoveMouseTo(dialogOverlay.CurrentDialog.ChildrenOfType<PopupDialogButton>().First());
|
||||||
InputManager.Click(MouseButton.Left);
|
InputManager.PressButton(MouseButton.Left);
|
||||||
});
|
});
|
||||||
|
|
||||||
assertCollectionCount(0);
|
assertCollectionCount(0);
|
||||||
|
|
||||||
|
AddStep("release mouse button", () => InputManager.ReleaseButton(MouseButton.Left));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Loading…
Reference in New Issue
Block a user