Choose the Login option before trying to enter the login credentials

This commit is contained in:
Ingo Klöcker
2023-09-04 16:11:20 +02:00
committed by Ingo Klöcker
parent e6a2b2d125
commit 52ab052aef
2 changed files with 6 additions and 4 deletions

View File

@@ -35,6 +35,8 @@ class LoginTest(unittest.TestCase):
self.driver.quit()
def test_login(self):
self.driver.find_element(by=AppiumBy.NAME, value="Login").click()
self.driver.find_element(by=AppiumBy.NAME, value="Matrix ID").send_keys("@user:localhost:1234")
self.driver.find_element(by=AppiumBy.NAME, value="Continue").click()
self.driver.find_element(by=AppiumBy.NAME, value="Password").send_keys("1234")