diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_ThemeResources.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_ThemeResources.cs index cd8163e425b4..e115d61972d6 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_ThemeResources.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_ThemeResources.cs @@ -34,7 +34,7 @@ public async Task When_Detached_From_Window_While_Theme_Changed() WindowHelper.WindowContent = SUT; await WindowHelper.WaitForLoaded(SUT); - Assert.AreEqual(Colors.Black, (SUT.Foreground as SolidColorBrush)?.Color); + Assert.AreEqual(Color.FromArgb(0xE4, 0, 0, 0), (SUT.Foreground as SolidColorBrush)?.Color); WindowHelper.WindowContent = null; await WindowHelper.WaitForIdle(); diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ListViewBase.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ListViewBase.cs index 0441c68830f4..16c089dffc87 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ListViewBase.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ListViewBase.cs @@ -1984,10 +1984,10 @@ string RandomString(int length) // since this is originally a virtualization issue and references // could be to different things than those shown on the screen. var si = await UITestHelper.ScreenShot(list, true); - ImageAssert.HasColorAt(si, 70, 65, Colors.FromARGB("#66AEE7")); // selected + ImageAssert.HasColorAt(si, 70, 65, Colors.FromARGB("#1A69A6")); // selected // check starting from below the second item that nothing looks selected or hovered - ImageAssert.DoesNotHaveColorInRectangle(si, new Rectangle(100, 110, si.Width - 100, si.Height - 110), Colors.FromARGB("#66AEE7")); // selected + ImageAssert.DoesNotHaveColorInRectangle(si, new Rectangle(100, 110, si.Width - 100, si.Height - 110), Colors.FromARGB("#1A69A6")); // selected ImageAssert.DoesNotHaveColorInRectangle(si, new Rectangle(100, 110, si.Width - 100, si.Height - 110), Colors.FromARGB("#FFE6E6E6")); // hovered }