mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
dynamicdns: Wait after changing domain name in tests
After a domain name change, Let's Encrypt will restart the webserver and could cause a connection failure. Test: DynamicDNS functional tests are passing. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
043b329e7d
commit
bdd078a406
@ -39,6 +39,10 @@ def _configure(browser):
|
||||
'http://myip.datasystems24.de')
|
||||
functional.submit(browser)
|
||||
|
||||
# After a domain name change, Let's Encrypt will restart the web
|
||||
# server and could cause a connection failure.
|
||||
functional.eventually(functional.nav_to_module, [browser, 'dynamicdns'])
|
||||
|
||||
|
||||
def _has_original_config(browser):
|
||||
functional.nav_to_module(browser, 'dynamicdns')
|
||||
@ -71,3 +75,7 @@ def _change_config(browser):
|
||||
browser.find_by_id('id_dynamicdns_ipurl').fill(
|
||||
'http://myip2.datasystems24.de')
|
||||
functional.submit(browser)
|
||||
|
||||
# After a domain name change, Let's Encrypt will restart the web
|
||||
# server and could cause a connection failure.
|
||||
functional.eventually(functional.nav_to_module, [browser, 'dynamicdns'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user