Fix method name and build 6.0 without google_apis
This commit is contained in:
parent
768d793ba0
commit
7170ee20d4
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue