From 4ac918d9d8bcbcd26ce148f4d4fd70cc969f5346 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 29 Jul 2024 05:57:50 -0400 Subject: [PATCH] chore(reg): Fix CI build - iteration 4: Fix UI tests --- src/SamplesApp/SamplesApp.UITests/SamplesApp.UITests.csproj | 2 +- .../SwipeControlTests/SwipeControlTests.cs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/SamplesApp/SamplesApp.UITests/SamplesApp.UITests.csproj b/src/SamplesApp/SamplesApp.UITests/SamplesApp.UITests.csproj index eca6c39017ad..e151afc49b05 100644 --- a/src/SamplesApp/SamplesApp.UITests/SamplesApp.UITests.csproj +++ b/src/SamplesApp/SamplesApp.UITests/SamplesApp.UITests.csproj @@ -8,7 +8,7 @@ $(DefineConstants);TARGET_FRAMEWORK_OVERRIDE_IOS - $(NoWarn);SYSLIB1045 + $(NoWarn);SYSLIB1045;CS1998 diff --git a/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/SwipeControlTests/SwipeControlTests.cs b/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/SwipeControlTests/SwipeControlTests.cs index dcdadeb86a3a..f10527aef787 100644 --- a/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/SwipeControlTests/SwipeControlTests.cs +++ b/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/SwipeControlTests/SwipeControlTests.cs @@ -9,9 +9,12 @@ using SamplesApp.UITests.Extensions; using SamplesApp.UITests.TestFramework; using Uno.Testing; -using Uno.UI.RuntimeTests.Helpers; using Uno.UITest.Helpers.Queries; +#if IS_RUNTIME_UI_TESTS +using Uno.UI.RuntimeTests.Helpers; +#endif + namespace SamplesApp.UITests.Windows_UI_Xaml_Controls.SwipeControlTests { [TestFixture]