Adjust collection deletion test to match new expectations

This commit is contained in:
Bartłomiej Dach 2022-08-06 21:07:21 +02:00
parent a0d093be5c
commit 26b9adbe0c
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -200,10 +200,12 @@ namespace osu.Game.Tests.Visual.Collections
AddStep("click confirmation", () =>
{
InputManager.MoveMouseTo(dialogOverlay.CurrentDialog.ChildrenOfType<PopupDialogButton>().First());
InputManager.Click(MouseButton.Left);
InputManager.PressButton(MouseButton.Left);
});
assertCollectionCount(0);
AddStep("release mouse button", () => InputManager.ReleaseButton(MouseButton.Left));
}
[Test]