Restore integration tests (#20296)

* Restore integration tests

* Fix TransparentPopup test not closing on macOS
This commit is contained in:
Julien Lebosquain
2025-12-19 10:05:51 +01:00
committed by GitHub
parent ce0a1c6b3e
commit d84d881729
2 changed files with 2 additions and 21 deletions
@@ -136,6 +136,7 @@ public partial class WindowPage : UserControl
Width = 200,
Height = 200,
Background = Brushes.Green,
SystemDecorations = SystemDecorations.None,
WindowStartupLocation = WindowStartupLocation.CenterOwner,
Content = new Border
{
@@ -145,7 +146,7 @@ public partial class WindowPage : UserControl
}
};
backgroundWindow.PointerPressed += (_, _) => backgroundWindow.Close();
popup.PointerPressed += (_, _) => backgroundWindow.Close();
backgroundWindow.Show(Window);
popup.Open();