diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_MenuFlyout.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_MenuFlyout.cs index db871305f460..40f2a7b25d87 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_MenuFlyout.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_MenuFlyout.cs @@ -423,6 +423,7 @@ public async Task When_MenuFlyout_DataContext_Changes_In_Opening() } } +#if HAS_UNO [TestMethod] public async Task When_Toggle_Item_HasToggle() { @@ -462,5 +463,6 @@ async Task ValidateToggleAsync(bool expected) await TestServices.WindowHelper.WaitForIdle(); } } +#endif } }