1
0
Vladislav Pozdniakov 4f666f0ba1 Fix macOS thick titlebar mouse event duplication (#19447) 2 сар өмнө
..
Properties 8250131e10 Rename integration tests now they're not win32-only. 3 жил өмнө
AppiumDriverEx.cs d4d322654e [Windows] WindowDecorations related integration tests (#15561) 1 жил өмнө
AutomationTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
Avalonia.IntegrationTests.Appium.csproj 27e446e5e0 Make integrational tests compatible with Appium 2 (#15570) 1 жил өмнө
ButtonTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
CheckBoxTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
CollectionDefinitions.cs d4d322654e [Windows] WindowDecorations related integration tests (#15561) 1 жил өмнө
ComboBoxTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
ContextMenuTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
DefaultAppFixture.cs ad0bc0dabf TrayIcon integration tests (#16154) 1 жил өмнө
ElementExtensions.cs 4f666f0ba1 Fix macOS thick titlebar mouse event duplication (#19447) 2 сар өмнө
EmbeddingTests.cs b272283e50 Make popup focus stealing configurable. (#16642) 1 жил өмнө
GestureTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
ListBoxTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
MenuTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
NativeMenuTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
OverlayPopupsAppFixture.cs ad0bc0dabf TrayIcon integration tests (#16154) 1 жил өмнө
PlatformFactAttribute.cs 0b1b3476fb Make EnumExtensions internal. 2 жил өмнө
PlatformTheoryAttribute.cs 0b1b3476fb Make EnumExtensions internal. 2 жил өмнө
PointerTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
PointerTests_MacOS.cs 4f666f0ba1 Fix macOS thick titlebar mouse event duplication (#19447) 2 сар өмнө
RadioButtonTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
ScreenTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
ScrollBarTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
SliderTests.cs 7a42c7eb8f Considering scaling when centering windows (#16158) 1 жил өмнө
TestBase.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
TrayIconTests.cs fa8b1736de Refactor integration test app paging (#16551) 1 жил өмнө
WindowDecorationsTests.cs 854078067d Win32 - Fix Window Frame Size and Position issues. (#16608) 1 жил өмнө
WindowTests.cs 1f8701a2fc Add Window.CanMinimize/CanMaximize (#18117) 2 сар өмнө
WindowTests_MacOS.cs 7a42c7eb8f Considering scaling when centering windows (#16158) 1 жил өмнө
macos-clean-build-test.sh 326ef7c9fd Add .NET 8 target (Avalonia 11.1) (#14535) 1 жил өмнө
readme.md d4339e4b0a Update Appium tests readme.md (#16134) 1 жил өмнө
record-video.runsettings e0e99b31a8 Record video for failing win32 integration tests on CI. (#16546) 1 жил өмнө
xunit.runner.json 8250131e10 Rename integration tests now they're not win32-only. 3 жил өмнө

readme.md

Running Integration Tests

Windows

Prerequisites

Running

  • Run WinAppDriver (it gets installed to the start menu)
  • Run the tests in this project

macOS

Prerequisites

  • Install Appium: https://appium.io/
  • Give Xcode helper the required permissions
  • cd samples/IntegrationTestApp then ./bundle.sh to create an app bundle for IntegrationTestApp
  • Register the app bundle by running open -n ./bin/Debug/net8.0/osx-arm64/publish/IntegrationTestApp.app

Running

  • Run appium
  • Run the tests in this project

Each time you make a change to Avalonia or IntegrationTestApp, re-run the bundle.sh script (registration only needs to be done once).

Appium 2

Tests in this project are configured to run with Appium 1 (as only this version supports WinAppDriver). If you need to run with Appium 2 on macOS, extra steps are required:

  • Install Appium 2 with mac2 driver
  • Set <IsRunningAppium2>true</IsRunningAppium2> msbuild property on the test project or globally
  • Run appium 2 with appium --base-path=/wd/hub (custom base path is required)
  • Run tests as normally