Try fixing test some more
This commit is contained in:
@@ -39,9 +39,10 @@ class OpenUserDetailsTest(unittest.TestCase):
|
|||||||
|
|
||||||
def test_open_sheet(self):
|
def test_open_sheet(self):
|
||||||
self.driver.find_element(by=AppiumBy.NAME, value="@user:localhost:1234").click()
|
self.driver.find_element(by=AppiumBy.NAME, value="@user:localhost:1234").click()
|
||||||
elements = self.driver.find_elements(by=AppiumBy.NAME, value="Expand Normal")
|
try:
|
||||||
if len(elements) > 0:
|
self.driver.find_element(by=AppiumBy.NAME, value="Expand Normal").click()
|
||||||
elements[0].click()
|
except:
|
||||||
|
pass
|
||||||
self.driver.find_element(by=AppiumBy.NAME, value="Empty room (!room_id_1234:localhost:1234)").click()
|
self.driver.find_element(by=AppiumBy.NAME, value="Empty room (!room_id_1234:localhost:1234)").click()
|
||||||
self.driver.find_element(by=AppiumBy.NAME, value="A Display Name").click()
|
self.driver.find_element(by=AppiumBy.NAME, value="A Display Name").click()
|
||||||
self.driver.find_element(by=AppiumBy.NAME, value="Account Details")
|
self.driver.find_element(by=AppiumBy.NAME, value="Account Details")
|
||||||
|
|||||||
Reference in New Issue
Block a user