update sample apk (#12380)

This commit is contained in:
Kazuaki Matsuo
2019-03-26 01:29:17 +09:00
committed by Dan Graham
parent 4e8bbbcc88
commit 906350fd33
5 changed files with 10 additions and 10 deletions

View File

@@ -16,8 +16,8 @@ class TestIOSBasicInteractions():
'app': IOS_APP_PATH,
'platformName': 'iOS',
'automationName': 'XCUITest',
'platformVersion': os.getenv('IOS_PLATFORM_VERSION') or '11.1',
'deviceName': os.getenv('IOS_DEVICE_NAME') or 'iPhone 6s',
'platformVersion': os.getenv('IOS_PLATFORM_VERSION') or '12.1',
'deviceName': os.getenv('IOS_DEVICE_NAME') or 'iPhone 8',
}
)

View File

@@ -16,8 +16,8 @@ class TestIOSSelectors(unittest.TestCase):
'app': IOS_APP_PATH,
'platformName': 'iOS',
'automationName': 'XCUITest',
'platformVersion': os.getenv('IOS_PLATFORM_VERSION') or '11.1',
'deviceName': os.getenv('IOS_DEVICE_NAME') or 'iPhone 6s',
'platformVersion': os.getenv('IOS_PLATFORM_VERSION') or '12.1',
'deviceName': os.getenv('IOS_DEVICE_NAME') or 'iPhone 8',
}
)
self.driver.implicitly_wait(10)

View File

@@ -16,8 +16,8 @@ class TestIOSCreateWebSession():
desired_capabilities={
'platformName': 'iOS',
'automationName': 'XCUITest',
'platformVersion': os.getenv('IOS_PLATFORM_VERSION') or '10.3',
'deviceName': os.getenv('IOS_DEVICE_NAME') or 'iPhone 6s',
'platformVersion': os.getenv('IOS_PLATFORM_VERSION') or '12.1',
'deviceName': os.getenv('IOS_DEVICE_NAME') or 'iPhone 8',
'browserName': 'Safari'
}
)

View File

@@ -16,8 +16,8 @@ class TestIOSBasicInteractions():
'app': IOS_APP_PATH,
'platformName': 'iOS',
'automationName': 'XCUITest',
'platformVersion': os.getenv('IOS_PLATFORM_VERSION') or '11.1',
'deviceName': os.getenv('IOS_DEVICE_NAME') or 'iPhone 6s',
'platformVersion': os.getenv('IOS_PLATFORM_VERSION') or '12.1',
'deviceName': os.getenv('IOS_DEVICE_NAME') or 'iPhone 8',
}
)
@@ -40,10 +40,10 @@ class TestIOSBasicInteractions():
def test_should_find_elements_by_nspredicate(self, driver):
all_visible_elements = driver.find_elements_by_ios_predicate('visible = 1')
assert 27 == len(all_visible_elements)
assert 25 <= len(all_visible_elements)
def test_should_find_elements_by_class_chain(self, driver):
window_element = driver.find_elements_by_ios_class_chain('XCUIElementTypeWindow[1]/*[2]')
window_element = driver.find_elements_by_ios_class_chain('XCUIElementTypeWindow[1]/*')
assert 1 == len(window_element)
def test_should_find_elements_by_xpath(self, driver):