diff --git a/.gitignore b/.gitignore index 27d44ea..000c07f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,5 @@ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* -.idea \ No newline at end of file +.idea +steps/__pycache__ \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index c3774ea..d08b14a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ Paver==1.3.4 -selenium==3.141.0 +selenium==4.18.1 behave==1.2.6 -Appium-Python-Client==1.0.2 -urllib3==1.26.16 +Appium-Python-Client==2.11.1 +urllib3==2.2.1 diff --git a/steps/appConfig.py b/steps/appConfig.py index 0ed30cf..55afefc 100644 --- a/steps/appConfig.py +++ b/steps/appConfig.py @@ -1,24 +1,30 @@ app_android_desired_caps = { - "deviceName":"Galaxy S20", - "platformName":"Android", - "platformVersion":"10", - "build":"Python Behave - Android", - "name":"Sample Test Android", - "isRealMobile":True, - "visual":True, - "video":True, - "app":"lt://proverbial-android" #Enter app_url here + "lt:options": { + "platformName": "android", + "deviceName": "Galaxy S20", + "platformVersion": "10", + "build": "Python Behave - Android", + "name": "Sample Test Android", + "app": "lt://APP10160301691747362768822447", + "isRealMobile": True, + "visual": True, + "video": True, + "w3c": True + } } app_ios_desired_caps = { - "deviceName":"iPhone 12", - "platformName":"ios", - "platformVersion":"14", - "build":"Python Behave - iOS", - "name":"Sample Test iOS", - "isRealMobile":True, - "network":False, - "visual":True, - "video":True, - "app":"lt://proverbial-ios" ,#Enter app_url here + "lt:options": { + "deviceName": "iPhone 12", + "platformName": "ios", + "platformVersion": "14", + "build": "Python Behave - iOS", + "name": "Sample Test iOS", + "app": "lt://APP1016019351747817555938149", + "isRealMobile": True, + "network": False, + "visual": True, + "video": True, + "w3c": True + } }