Fix more missing HTTPS_PORT references
More missing reference. note that some are skipped intentionally
because this code also uses the hostname to derive other things like IP
and to ping the box.
Change-Id: If3ec82f4dea4caef5b016cf52705422e4fdbb00a
Signed-off-by: Matt Fischer <matthew.fischer@hpe.com>
diff --git a/gui/gui_test/security_and_access_menu/test_multiple_interfaces.robot b/gui/gui_test/security_and_access_menu/test_multiple_interfaces.robot
index 546d8f7..def4240 100644
--- a/gui/gui_test/security_and_access_menu/test_multiple_interfaces.robot
+++ b/gui/gui_test/security_and_access_menu/test_multiple_interfaces.robot
@@ -12,8 +12,8 @@
*** Variables ***
-${bmc_url} https://${OPENBMC_HOST}
-${bmc_url_1} https://${OPENBMC_HOST_1}
+${bmc_url} https://${OPENBMC_HOST}:${HTTPS_PORT}
+${bmc_url_1} https://${OPENBMC_HOST_1}:${HTTPS_PORT}
${LDAP_FILE_PATH} ${EMPTY}
${CA_FILE_PATH} ${EMPTY}
@@ -80,7 +80,7 @@
... ELSE IF '${certificate_type}' == 'Client' and '${delete_cert}' == '${True}'
... Delete Certificate Via BMC CLI ${certificate_type}
- Set Test Variable ${obmc_gui_url} https://${OPENBMC_HOST_1}
+ Set Test Variable ${obmc_gui_url} https://${OPENBMC_HOST_1}:${HTTPS_PORT}
Launch Browser And Login GUI
Navigate To SSL Certificate Page
Sleep 10s
diff --git a/gui/lib/gui_resource.robot b/gui/lib/gui_resource.robot
index 2fceed4..4a22f34 100644
--- a/gui/lib/gui_resource.robot
+++ b/gui/lib/gui_resource.robot
@@ -9,7 +9,7 @@
*** Variables ***
-${obmc_gui_url} https://${OPENBMC_HOST}
+${obmc_gui_url} https://${OPENBMC_HOST}:${HTTPS_PORT}
${xpath_power_page} //*[@data-test-id='appHeader-container-power']
${xpath_power_shutdown} //*[@data-test-id='serverPowerOperations-button-shutDown']
${xpath_power_power_on} //*[@data-test-id='serverPowerOperations-button-powerOn']
diff --git a/gui/lib/resource.robot b/gui/lib/resource.robot
index 940d53b..41d070f 100644
--- a/gui/lib/resource.robot
+++ b/gui/lib/resource.robot
@@ -23,7 +23,7 @@
Variables ../data/resource_variables.py
*** Variables ***
-${obmc_gui_url} https://${OPENBMC_HOST}
+${obmc_gui_url} https://${OPENBMC_HOST}:${HTTPS_PORT}
${obmc_PowerOff_state} Off
${obmc_PowerRunning_state} Running