diff --git a/src/common/UITestAutomation/Element/Element.cs b/src/common/UITestAutomation/Element/Element.cs index 2c1258320a..82afb26d41 100644 --- a/src/common/UITestAutomation/Element/Element.cs +++ b/src/common/UITestAutomation/Element/Element.cs @@ -230,14 +230,6 @@ namespace Microsoft.PowerToys.UITest }); } - public void KeyUp(string key) - { - PerformAction((actions, windowElement) => - { - actions.KeyUp(key).Build().Perform(); - }); - } - /// /// Gets the attribute value of the UI element. /// diff --git a/src/common/UITestAutomation/UITestBase.cs b/src/common/UITestAutomation/UITestBase.cs index bc39f886e9..7a0370344d 100644 --- a/src/common/UITestAutomation/UITestBase.cs +++ b/src/common/UITestAutomation/UITestBase.cs @@ -538,7 +538,7 @@ namespace Microsoft.PowerToys.UITest } else { - Console.WriteLine("virtual monitor create Faild"); + Console.WriteLine("virtual monitor create failed"); } }