From f778e21a5a41479fd33d8d5f983da46a8820dca4 Mon Sep 17 00:00:00 2001 From: Darsh0307 Date: Tue, 30 Jan 2024 12:05:42 -0500 Subject: [PATCH] feat: updating the chromedriverpath in constant.cs --- Uno.Gallery/Uno.Gallery.UITest/Constants.cs | 4 ++-- Uno.Gallery/Uno.Gallery.UITest/TestBase.cs | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Uno.Gallery/Uno.Gallery.UITest/Constants.cs b/Uno.Gallery/Uno.Gallery.UITest/Constants.cs index 83f7d47c7..18e1fac36 100644 --- a/Uno.Gallery/Uno.Gallery.UITest/Constants.cs +++ b/Uno.Gallery/Uno.Gallery.UITest/Constants.cs @@ -13,7 +13,7 @@ public class Constants public readonly static string iOSAppName = "com.nventive.uno.gallery"; public readonly static string AndroidAppName = "com.nventive.uno.ui.demo"; public readonly static string iOSDeviceNameOrId = "iPad Pro (12.9-inch) (5th generation)"; - - public readonly static Platform CurrentPlatform = Platform.Browser; + public readonly static string ChromeDriverPath = @"C:\Program Files\Google\Chrome\chromedriver-win64"; + public readonly static Platform CurrentPlatform = Platform.Browser; } } diff --git a/Uno.Gallery/Uno.Gallery.UITest/TestBase.cs b/Uno.Gallery/Uno.Gallery.UITest/TestBase.cs index 163824eae..664b6500e 100644 --- a/Uno.Gallery/Uno.Gallery.UITest/TestBase.cs +++ b/Uno.Gallery/Uno.Gallery.UITest/TestBase.cs @@ -26,8 +26,6 @@ static TestBase() AppInitializer.TestEnvironment.AndroidAppName = Constants.AndroidAppName; AppInitializer.TestEnvironment.iOSDeviceNameOrId = Constants.iOSDeviceNameOrId; AppInitializer.TestEnvironment.CurrentPlatform = Constants.CurrentPlatform; - AppInitializer.TestEnvironment.ChromeDriverPath = @"C:\Program Files\Google\Chrome\chromedriver-win64"; - #if DEBUG AppInitializer.TestEnvironment.WebAssemblyHeadless = false;