A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Emmanuel Hansen 854078067d
Win32 - Fix Window Frame Size and Position issues. (#16608)
1 year ago
..
Properties Rename integration tests now they're not win32-only. 4 years ago
AppiumDriverEx.cs [Windows] WindowDecorations related integration tests (#15561) 2 years ago
AutomationTests.cs Refactor integration test app paging (#16551) 2 years ago
Avalonia.IntegrationTests.Appium.csproj Make integrational tests compatible with Appium 2 (#15570) 2 years ago
ButtonTests.cs Refactor integration test app paging (#16551) 2 years ago
CheckBoxTests.cs Refactor integration test app paging (#16551) 2 years ago
CollectionDefinitions.cs [Windows] WindowDecorations related integration tests (#15561) 2 years ago
ComboBoxTests.cs Refactor integration test app paging (#16551) 2 years ago
ContextMenuTests.cs Refactor integration test app paging (#16551) 2 years ago
DefaultAppFixture.cs TrayIcon integration tests (#16154) 2 years ago
ElementExtensions.cs Fix context menu keyboard selection. (#16354) 2 years ago
EmbeddingTests.cs Add basic integration tests for NativeControlHost and improve its automation/a11y support. (#15542) 2 years ago
GestureTests.cs Refactor integration test app paging (#16551) 2 years ago
ListBoxTests.cs Refactor integration test app paging (#16551) 2 years ago
MenuTests.cs Refactor integration test app paging (#16551) 2 years ago
NativeMenuTests.cs Refactor integration test app paging (#16551) 2 years ago
OverlayPopupsAppFixture.cs TrayIcon integration tests (#16154) 2 years ago
PlatformFactAttribute.cs Make EnumExtensions internal. 3 years ago
PlatformTheoryAttribute.cs Make EnumExtensions internal. 3 years ago
PointerTests.cs Refactor integration test app paging (#16551) 2 years ago
RadioButtonTests.cs Refactor integration test app paging (#16551) 2 years ago
ScreenTests.cs Refactor integration test app paging (#16551) 2 years ago
ScrollBarTests.cs Refactor integration test app paging (#16551) 2 years ago
SliderTests.cs Refactor integration test app paging (#16551) 2 years ago
TestBase.cs Refactor integration test app paging (#16551) 2 years ago
TrayIconTests.cs Refactor integration test app paging (#16551) 2 years ago
WindowDecorationsTests.cs Win32 - Fix Window Frame Size and Position issues. (#16608) 1 year ago
WindowTests.cs Win32 - Fix Window Frame Size and Position issues. (#16608) 1 year ago
WindowTests_MacOS.cs Refactor integration test app paging (#16551) 2 years ago
macos-clean-build-test.sh Add .NET 8 target (Avalonia 11.1) (#14535) 2 years ago
readme.md Update Appium tests readme.md (#16134) 2 years ago
record-video.runsettings Record video for failing win32 integration tests on CI. (#16546) 2 years ago
xunit.runner.json Rename integration tests now they're not win32-only. 4 years ago

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