ソースを参照

Merge pull request #8501 from AvaloniaUI/fixes/integration-test-stability-osx

run appium and restart it each time.
Dan Walmsley 3 年 前
コミット
4be6c5fbb4

+ 3 - 0
tests/Avalonia.IntegrationTests.Appium/macos-clean-build-test.sh

@@ -3,6 +3,8 @@
 SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
 cd "$SCRIPT_DIR"/../.. || exit
 git clean -xdf
+pkill node
+appium &
 pkill IntegrationTestApp
 ./build.sh CompileNative
 ./samples/IntegrationTestApp/bundle.sh
@@ -10,3 +12,4 @@ open -n ./samples/IntegrationTestApp/bin/Debug/net6.0/osx-arm64/publish/Integrat
 pkill IntegrationTestApp
 dotnet test tests/Avalonia.IntegrationTests.Appium/ -l "console;verbosity=detailed"
 pkill IntegrationTestApp
+pkill node