mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-01 09:30:29 +00:00
functional_tests: Add shortcut- prefix to test home page config
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
23f37a3a3d
commit
6064067a3a
@ -64,6 +64,9 @@ def set_domain_name(browser, domain_name):
|
||||
|
||||
|
||||
def set_home_page(browser, home_page):
|
||||
if 'plinth' not in home_page and 'apache' not in home_page:
|
||||
home_page = 'shortcut-' + home_page
|
||||
|
||||
nav_to_module(browser, 'config')
|
||||
drop_down = browser.find_by_id('id_configuration-homepage')
|
||||
drop_down.select(home_page)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user