Browse Source
Restore integration tests (#20296)
* Restore integration tests
* Fix TransparentPopup test not closing on macOS
pull/20310/head
Julien Lebosquain
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
21 deletions
-
samples/IntegrationTestApp/Pages/WindowPage.axaml.cs
-
tests/Avalonia.IntegrationTests.Appium/Avalonia.IntegrationTests.Appium.csproj
|
|
|
@ -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(); |
|
|
|
|
|
|
|
@ -23,26 +23,6 @@ |
|
|
|
<PackageReference Include="Appium.WebDriver" Version="5.2.0"/> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<Compile Remove="ButtonTests.cs" /> |
|
|
|
<Compile Remove="CheckBoxTests.cs" /> |
|
|
|
<Compile Remove="ContextMenuTests.cs" /> |
|
|
|
<Compile Remove="EmbeddingTests.cs" /> |
|
|
|
<Compile Remove="GestureTests.cs" /> |
|
|
|
<Compile Remove="ListBoxTests.cs" /> |
|
|
|
<Compile Remove="NativeMenuTests.cs" /> |
|
|
|
<Compile Remove="PointerTests.cs" /> |
|
|
|
<Compile Remove="PointerTests_MacOS.cs" /> |
|
|
|
<Compile Remove="RadioButtonTests.cs" /> |
|
|
|
<Compile Remove="ScreenTests.cs" /> |
|
|
|
<Compile Remove="ScrollBarTests.cs" /> |
|
|
|
<Compile Remove="SliderTests.cs" /> |
|
|
|
<Compile Remove="TrayIconTests.cs" /> |
|
|
|
<Compile Remove="WindowDecorationsTests.cs" /> |
|
|
|
<Compile Remove="WindowTests.cs" /> |
|
|
|
<Compile Remove="WindowTests_MacOS.cs" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<Import Project="..\..\build\XUnit.props" /> |
|
|
|
<Import Project="..\..\build\Rx.props" /> |
|
|
|
<Import Project="..\..\build\ImageSharp.props" /> |
|
|
|
|