Browse Source
Merge pull request #8521 from AvaloniaUI/fixes/re-register-bundleid
OSX reliable integration tests.
pull/8522/head
Dan Walmsley
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
0 deletions
-
azure-pipelines-integrationtests.yml
-
tests/Avalonia.IntegrationTests.Appium/macos-clean-build-test.sh
|
|
|
@ -19,6 +19,8 @@ jobs: |
|
|
|
appium & |
|
|
|
pkill IntegrationTestApp |
|
|
|
./build.sh CompileNative |
|
|
|
rm -rf $(osascript -e "POSIX path of (path to application id \"net.avaloniaui.avalonia.integrationtestapp\")") |
|
|
|
pkill IntegrationTestApp |
|
|
|
./samples/IntegrationTestApp/bundle.sh |
|
|
|
open -n ./samples/IntegrationTestApp/bin/Debug/net6.0/osx-arm64/publish/IntegrationTestApp.app |
|
|
|
pkill IntegrationTestApp |
|
|
|
|
|
|
|
@ -7,9 +7,12 @@ pkill node |
|
|
|
appium & |
|
|
|
pkill IntegrationTestApp |
|
|
|
./build.sh CompileNative |
|
|
|
rm -rf $(osascript -e "POSIX path of (path to application id \"net.avaloniaui.avalonia.integrationtestapp\")") |
|
|
|
pkill IntegrationTestApp |
|
|
|
./samples/IntegrationTestApp/bundle.sh |
|
|
|
open -n ./samples/IntegrationTestApp/bin/Debug/net6.0/osx-arm64/publish/IntegrationTestApp.app |
|
|
|
pkill IntegrationTestApp |
|
|
|
open -b net.avaloniaui.avalonia.integrationtestapp |
|
|
|
dotnet test tests/Avalonia.IntegrationTests.Appium/ -l "console;verbosity=detailed" |
|
|
|
pkill IntegrationTestApp |
|
|
|
pkill node |
|
|
|
|