From d3933bb2bef966e09f78a3b910cb7451c2c13e43 Mon Sep 17 00:00:00 2001 From: Aliaksej Mialeshka Date: Tue, 8 Jul 2025 16:17:45 +0200 Subject: [PATCH 1/2] Update to Appium 9.5.0 and Selenium 4.33.0 +semver:feature --- azure-pipelines.yml | 10 ++++++---- pom.xml | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0e8ae28..4d88e47 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -53,7 +53,7 @@ jobs: variables: ANDROID_EMU_NAME: test - ANDROID_SDK_ID: system-images;android-28;google_apis_playstore;x86 + ANDROID_SDK_ID: system-images;android-30;google_apis_playstore;x86 steps: - task: CmdLine@2 @@ -61,7 +61,9 @@ jobs: inputs: script: | echo "Configuring Environment" - export PATH=$PATH:$JAVA_HOME/bin + brew install --cask temurin@8 + export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) + export PATH=$JAVA_HOME/bin:$PATH echo export "ANDROID_HOME=\$ANDROID_HOME" >> ~/.bash_profile export PATH=$PATH:$ANDROID_HOME @@ -74,14 +76,14 @@ jobs: $ANDROID_HOME/emulator/emulator -list-avds echo "Starting emulator" - nohup $ANDROID_HOME/emulator/emulator -avd "$(ANDROID_EMU_NAME)" -gpu swiftshader_indirect -noaudio -no-boot-anim -no-snapshot > /dev/null 2>&1 & + nohup $ANDROID_HOME/emulator/emulator -avd "$(ANDROID_EMU_NAME)" -gpu swiftshader_indirect -noaudio -no-boot-anim -no-snapshot -verbose > /dev/null 2>&1 & $ANDROID_HOME/platform-tools/adb wait-for-device while [[ $? -ne 0 ]]; do sleep 1; $ANDROID_HOME/platform-tools/adb shell pm list packages; done; $ANDROID_HOME/platform-tools/adb devices echo "Emulator started" echo "Installing Appium" - npm install -g appium@next + npm install -g appium@latest ln -fs /usr/local/lib/node_modules/appium/build/lib/main.js /usr/local/bin/appium chmod +x /usr/local/bin/appium export PATH=$PATH:/usr/local/bin/appium diff --git a/pom.xml b/pom.xml index c212a87..6e64bf5 100644 --- a/pom.xml +++ b/pom.xml @@ -189,13 +189,13 @@ com.github.aquality-automation aquality-selenium-core - 4.0.3 + 4.6.0 io.appium java-client - 9.2.3 + 9.5.0 @@ -208,14 +208,14 @@ org.apache.commons commons-lang3 - 3.14.0 + 3.17.0 test commons-io commons-io - 2.16.1 + 2.19.0 test From d7c733c846b3c546b9a6330343c9f907ef2ceb9f Mon Sep 17 00:00:00 2001 From: Aliaksej Mialeshka Date: Wed, 9 Jul 2025 11:01:51 +0200 Subject: [PATCH 2/2] The version contains invalid character(s) --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index bdcea88..4ca3a5d 100644 --- a/pom.xml +++ b/pom.xml @@ -16,6 +16,7 @@ UTF-8 UTF-8 + 5.3.1