Functional tests: check that browser waits for redirects to finish

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Michael Pimmer authored and James Valleroy committed 2018-11-17 16:22:17 -05:00
1 parent 56ee33793e
commit 33dde221d1
3 files changed
+54

No files matched your search

+5
View File
@@ -394,3 +394,8 @@ def monkeysphere_publish_key(browser, key_type, domain):
key.find_by_css('.button-publish').click()
application.wait_for_config_update(browser, 'monkeysphere')
def open_main_page(browser):
with wait_for_page_update(browser):
browser.find_link_by_href('/plinth/').first.click()