Skip to content

TTN-23587 updated capabilities to LT acceptable format and upgraded d… #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

.idea
.idea
steps/__pycache__
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
44 changes: 25 additions & 19 deletions steps/appConfig.py
Original file line number Diff line number Diff line change
@@ -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
}
}