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

Wait for profile to load before acting on it

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 4012b444
......@@ -124,6 +124,9 @@ class SeleniumTests(LiveServerTestCase):
# Load profile
self.driver.find_element_by_id('profile-button').click()
# Wait for profile to load
self.driver.find_element_by_id('subscriptions')
# Finally logout
self.driver.find_element_by_id('logout-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