Renamed avd in sample UI tests

This commit is contained in:
butomo1989
2017-04-24 15:50:18 +02:00
parent e46800e322
commit f1663eb05e
3 changed files with 7 additions and 3 deletions

View File

@@ -6,12 +6,14 @@ from appium import webdriver
class MSiteDefaultBrowserAndroidUITests(unittest.TestCase):
def setUp(self):
# Default browser does not exist for android >= 6.0
desired_caps = {
'platformName': 'Android',
'deviceName': 'Android Emulator',
'appPackage': 'com.android.browser',
'appActivity': 'com.android.browser.BrowserActivity',
'avd': 'samsung_galaxy_s6_5.0.1'
'avd': 'samsung_galaxy_s6_6.0'
}
self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)