Added Read only user testcases to verify reboot page
Changes:
- Verify Reboot BMC Page With Readonly User
When Host On State
- Verify Reboot BMC Page With Readonly User
When Host Off State
Tested:
- Successfully ran this from gui/gui_test
Change-Id: Ie7a44e56a0343abab3ef00f30cee41a12d99fe23
Signed-off-by: rramyasr in <rramyasr@in.ibm.com>
diff --git a/gui/lib/gui_resource.robot b/gui/lib/gui_resource.robot
index 4a1c14b..ad133b4 100644
--- a/gui/lib/gui_resource.robot
+++ b/gui/lib/gui_resource.robot
@@ -164,8 +164,7 @@
# expected_value Expected value of for the given element.
# Refresh GUI.
-
- Click Element ${xpath_refresh_button}
+ Refresh GUI
# Check element value and verify that it contains expected value.
${element_value}= Get Text ${element}
@@ -222,12 +221,11 @@
[Documentation] Navigate To Server Power Page.
Click Element ${xpath_power_page}
- Wait Until Element Is Not Visible {xpath_page_loading_progress_bar} timeout=30
+ Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30s
Power Off Server
[Documentation] Powering off server.
-
Navigate To Server Power Page
${present}= Run Keyword And Return Status
... Element Should Be Visible ${xpath_power_shutdown}