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:
James Valleroy authored and Sunil Mohan Adapa committed 2019-06-13 18:38:14 -07:00
1 parent 23f37a3a3d
commit 6064067a3a
1 file changed
+3
+3
View File
@@ -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)