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 2019-06-13 20:32:40 -04:00 committed by Sunil Mohan Adapa
parent 23f37a3a3d
commit 6064067a3a
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

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)