Fix cancel test failure

This commit is contained in:
ansel 2022-11-30 13:30:00 +03:00
parent 5ea824534b
commit f0922d34bb

View File

@ -95,7 +95,7 @@ namespace osu.Game.Tests.Visual.UserInterface
{ {
AddStep("click cancel button", () => AddStep("click cancel button", () =>
{ {
InputManager.MoveMouseTo(cancellableCommentEditor.ButtonsContainer); InputManager.MoveMouseTo(cancellableCommentEditor.ButtonsContainer[1]);
InputManager.Click(MouseButton.Left); InputManager.Click(MouseButton.Left);
}); });