diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Input/Given_GestureRecognizer.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Input/Given_GestureRecognizer.cs index f0a9f56843d9..d9d4fa02450f 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Input/Given_GestureRecognizer.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Input/Given_GestureRecognizer.cs @@ -25,8 +25,8 @@ public class Given_GestureRecognizer { [TestMethod] [RunsOnUIThread] -#if !HAS_INPUT_INJECTOR - [Ignore("InputInjector is not supported on this platform.")] +#if !HAS_INPUT_INJECTOR || (!HAS_UNO_WINUI && !WINAPPSDK) // Requires pointer injection and WinUI API + [Ignore("This test is not supported on this platform.")] #endif #if !WINAPPSDK [DataRow(PointerDeviceType.Mouse)]