Commit bca59e4c authored by Michal Čihař's avatar Michal Čihař

Give the browser some time for login

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 83ff252d
......@@ -127,6 +127,9 @@ class SeleniumTests(LiveServerTestCase, RegistrationTestMixin):
password_input.send_keys('testpassword')
self.driver.find_element_by_xpath('//input[@value="Login"]').click()
# Wait for submit
time.sleep(1)
# Load profile
self.driver.find_element_by_id('profile-button').click()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment