Added support for new GUI development
Resolves: openbmc/openbmc-test-automation#1241
Change-Id: Ia60eaa7d90aca26672f4935c6cd90f66e5828b21
Signed-off-by: Sivas SRR <sivas.srr@in.ibm.com>
diff --git a/gui/obmc_gui/lib/resource.robot b/gui/obmc_gui/lib/resource.robot
index 3e5c90d..49e34c9 100644
--- a/gui/obmc_gui/lib/resource.robot
+++ b/gui/obmc_gui/lib/resource.robot
@@ -23,7 +23,7 @@
Variables ../data/resource_variables.py
*** Variables ***
-${openbmc_gui_url} http://localhost:8080/#/login
+${obmc_gui_url} https://${OPENBMC_HOST}
# Default Browser.
${default_browser} ff
@@ -58,7 +58,7 @@
[Documentation] Open the browser with the URL and
... login on windows platform.
- ${BROWSER_ID}= Open Browser ${openbmc_gui_url} ${default_browser}
+ ${BROWSER_ID}= Open Browser ${obmc_gui_url} ${default_browser}
Maximize Browser Window
Set Global Variable ${BROWSER_ID}
@@ -66,7 +66,7 @@
[Documentation] Launch headless browser.
Start Virtual Display 1920 1080
- ${BROWSER_ID}= Open Browser ${openbmc_gui_url}
+ ${BROWSER_ID}= Open Browser ${obmc_gui_url}
Set Global Variable ${BROWSER_ID}
Set Window Size 1920 1080
@@ -78,7 +78,7 @@
# username The username.
# password The password.
- Go To ${openbmc_gui_url}
+ Go To ${obmc_gui_url}
Input Text ${xpath_textbox_hostname} ${OPENBMC_HOST}
Input Text ${xpath_textbox_username} ${username}
Input Password ${xpath_textbox_password} ${password}