Skip to content

Commit

Permalink
chore: Adjust namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Nov 28, 2024
1 parent 165475e commit 0f10125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_Style.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ public async Task When_Style_Flows_To_Popup()
await UITestHelper.Load(page);

var foreground = (SolidColorBrush)page.GridTextBlock.Foreground;
Assert.AreEqual(Colors.Red, foreground.Color);
Assert.AreEqual(Microsoft.UI.Colors.Red, foreground.Color);

page.ShowPopup();

await TestServices.WindowHelper.WaitFor(() => VisualTreeHelper.GetOpenPopupsForXamlRoot(TestServices.WindowHelper.XamlRoot).Count > 0);

var popupForeground = (SolidColorBrush)page.PopupTextBlock.Foreground;
Assert.AreEqual(Colors.Red, popupForeground.Color);
Assert.AreEqual(Microsoft.UI.Colors.Red, popupForeground.Color);
}
}
}

0 comments on commit 0f10125

Please sign in to comment.