Skip to content

Commit

Permalink
One more fix to android version validation
Browse files Browse the repository at this point in the history
  • Loading branch information
vania-pooh committed Aug 17, 2018
1 parent 8117b69 commit 44550ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion selenium/automate_android.sh
Expand Up @@ -101,7 +101,9 @@ appium_version=$(request_answer "Specify Appium version:" "1.8.1")

until [ "$?" -ne 0 ]; do
android_version=$(request_answer "Specify Android version:" "6.0")
validate_android_version "$android_version"
if validate_android_version "$android_version"; then
break
fi
done
IFS=';' read -ra emulator_image_info <<< "$emulator_image"
emulator_image_type=${emulator_image_info[2]}
Expand Down

0 comments on commit 44550ae

Please sign in to comment.