From 7170ee20d4878e88fa0628a51f647235bc514085 Mon Sep 17 00:00:00 2001 From: Andrejs Cunskis Date: Wed, 24 May 2017 17:00:29 +0300 Subject: [PATCH] Fix method name and build 6.0 without google_apis --- release.sh | 5 +---- src/app.py | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/release.sh b/release.sh index c6f8237..beba2be 100755 --- a/release.sh +++ b/release.sh @@ -111,12 +111,9 @@ function build() { for v in "${versions[@]}"; do # Find image type and default web browser - if [ "$v" == "5.0.1" ] || [ "$v" == "5.1.1" ]; then + if [ "$v" == "5.0.1" ] || [ "$v" == "5.1.1" ] || [ "$v" == "6.0" ]; then IMG_TYPE=android BROWSER=browser - elif [ "$v" == "6.0" ]; then - IMG_TYPE=google_apis - BROWSER=browser else IMG_TYPE=google_apis BROWSER=chrome diff --git a/src/app.py b/src/app.py index 7b45ea3..6553598 100644 --- a/src/app.py +++ b/src/app.py @@ -106,7 +106,7 @@ def appium_run(avd_name: str): logger.info('Connect to selenium grid? {connect}'.format(connect=grid_connect)) if grid_connect: try: - mobile_web_test = str_to_bool(str(os.getenv('MOBILE_WEB_TEST', False))) + mobile_web_test = convert_str_to_bool(str(os.getenv('MOBILE_WEB_TEST', False))) default_web_browser = os.getenv('BROWSER') appium_host = os.getenv('APPIUM_HOST', local_ip) appium_port = int(os.getenv('APPIUM_PORT', 4723))