From 3e5afd1fc3f6b89210bf78e25bc46739db63942e Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Thu, 14 Jul 2022 20:19:34 +0100 Subject: [PATCH 1/2] appium v1 tests on mac --- azure-pipelines-integrationtests.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/azure-pipelines-integrationtests.yml b/azure-pipelines-integrationtests.yml index c3f6292703..7954b970de 100644 --- a/azure-pipelines-integrationtests.yml +++ b/azure-pipelines-integrationtests.yml @@ -12,8 +12,23 @@ jobs: name: 'AvaloniaMacPool' steps: - - script: ./tests/Avalonia.IntegrationTests.Appium/macos-clean-build-test.sh - displayName: 'run integration tests' + - 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 From 121a6e31b129dfbd00bbec4bcca7ab5555622665 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Thu, 14 Jul 2022 20:29:06 +0100 Subject: [PATCH 2/2] print mac os display res. --- azure-pipelines-integrationtests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines-integrationtests.yml b/azure-pipelines-integrationtests.yml index 7954b970de..10f098b607 100644 --- a/azure-pipelines-integrationtests.yml +++ b/azure-pipelines-integrationtests.yml @@ -12,6 +12,8 @@ jobs: name: 'AvaloniaMacPool' steps: + - script: system_profiler SPDisplaysDataType |grep Resolution + - script: | pkill node appium &