From 6a35d539495104ff82296deb28f303887959be13 Mon Sep 17 00:00:00 2001 From: Jan Jasek Date: Mon, 9 Dec 2024 20:48:10 +0100 Subject: [PATCH] [WIP] Add required test variables into horizon.conf Add required test variables/values which are used as default values for Horizon tests, into horizon.conf --- .../tcib/base/os/horizontest/run_horizontest.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/container-images/tcib/base/os/horizontest/run_horizontest.sh b/container-images/tcib/base/os/horizontest/run_horizontest.sh index c89393a..a98fc9c 100644 --- a/container-images/tcib/base/os/horizontest/run_horizontest.sh +++ b/container-images/tcib/base/os/horizontest/run_horizontest.sh @@ -29,8 +29,8 @@ USER_NAME_XPATH="//span[@class='rcueicon rcueicon-user']/ancestor::li" BROWSE_LEFT_PANEL_MAIN="Project,Project,Project,Project,Project,Project,Project,Project,Project,Project,Project,Project,Project,Project,Project,Project,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Admin,Identity,Identity,Identity,Identity,Identity" BROWSE_LEFT_PANEL_SEC="Project,None,None,None,None,None,Volumes,Volumes,Network,Network,Network,Network,Network,Network,Network,Object Store,None,Compute,Compute,Compute,Compute,Compute,Volume,Volume,Volume,Volume,Network,Network,Network,Network,Network,System,System,System,None,None,None,None,None" BLP_SEC_LINE_XPATH=".//*[@class='navbar primary persistent-secondary']" -BLP_SEC_LINE_REQ_BTN=".//*[@class='navbar primary persistent-secondary']//a[normalize-space()='sec_panel']//ancestor::li" -BLP_SIDEBAR_XPATH=".//*[@class='navbar primary persistent-secondary']//a[normalize-space()='sec_panel']//ancestor::li//*[@class='dropdown-menu']" +BLP_SEC_LINE_REQ_BTN=".//*[@class='navbar primary persistent-secondary']//a[normalize-space()='{sec_panel}']//ancestor::li" +BLP_SIDEBAR_XPATH=".//*[@class='navbar primary persistent-secondary']//a[normalize-space()='{sec_panel}']//ancestor::li//*[@class='dropdown-menu']" # assert mandatory variables have been set [[ -z ${ADMIN_USERNAME} ]] && echo "ADMIN_USERNAME not set" && exit 1 @@ -151,7 +151,7 @@ crudini --set horizon.conf launch_instances image_name "${IMAGE_FILE_NAME_WITH_S crudini --set horizon.conf selenium explicit_wait ${SELENIUM_EXPLICIT_WAIT} crudini --set horizon.conf selenium page_timeout ${SELENIUM_PAGE_TIMEOUT} crudini --set horizon.conf selenium implicit_wait ${SELENIUM_IMPLICIT_WAIT} -crudini --set horizon.conf theme subnet_name ${SUBNET_NAME} +crudini --set horizon.conf network subnet_name ${SUBNET_NAME} crudini --set horizon.conf theme project_name_xpath "${PROJECT_NAME_XPATH}" crudini --set horizon.conf theme help_sequence "${HELP_SEQUENCE}" crudini --set horizon.conf theme test_material_theme "${TEST_MATERIAL_THEME}"