Browse Source
Merge pull request #8516 from AvaloniaUI/fixes/integration-test
appium v1 tests on mac
pull/8520/head
Dan Walmsley
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
19 additions and
2 deletions
-
azure-pipelines-integrationtests.yml
|
|
|
@ -12,8 +12,25 @@ jobs: |
|
|
|
name: 'AvaloniaMacPool' |
|
|
|
|
|
|
|
steps: |
|
|
|
- script: ./tests/Avalonia.IntegrationTests.Appium/macos-clean-build-test.sh |
|
|
|
displayName: 'run integration tests' |
|
|
|
- script: system_profiler SPDisplaysDataType |grep Resolution |
|
|
|
|
|
|
|
- script: | |
|
|
|
pkill node |
|
|
|
appium & |
|
|
|
pkill IntegrationTestApp |
|
|
|
./build.sh CompileNative |
|
|
|
./samples/IntegrationTestApp/bundle.sh |
|
|
|
open -n ./samples/IntegrationTestApp/bin/Debug/net6.0/osx-arm64/publish/IntegrationTestApp.app |
|
|
|
pkill IntegrationTestApp |
|
|
|
|
|
|
|
- task: DotNetCoreCLI@2 |
|
|
|
inputs: |
|
|
|
command: 'test' |
|
|
|
projects: 'tests/Avalonia.IntegrationTests.Appium/Avalonia.IntegrationTests.Appium.csproj' |
|
|
|
|
|
|
|
- script: | |
|
|
|
pkill IntegrationTestApp |
|
|
|
pkill node |
|
|
|
|
|
|
|
|
|
|
|
- job: Windows |
|
|
|
|