Removed redundant test and Update all the Buttons in one test
Changes:
- Removed redundant test.
- Updated all the buttons in policy page
Tested:
- Ran successfully /gui/gui_test/resource_management_menu/test_power_sub_menu.robot
Change-Id: Ie2b97558693ca303ed76c4c95a0f53c0137b73c0
Signed-off-by: rramyasr-in <rramyasr@in.ibm.com>
diff --git a/gui/gui_test/resource_management_menu/test_power_sub_menu.robot b/gui/gui_test/resource_management_menu/test_power_sub_menu.robot
index 99b5992..c22e585 100644
--- a/gui/gui_test/resource_management_menu/test_power_sub_menu.robot
+++ b/gui/gui_test/resource_management_menu/test_power_sub_menu.robot
@@ -46,6 +46,10 @@
Page Should Contain Element ${xpath_power_ops_checkbox}
Page Should Contain Element ${xpath_cap_input_button}
Page Should Contain Element ${xpath_submit_button}
+ Page Should Contain Element ${xpath_select_static}
+ Page Should Contain Element ${xpath_select_powersaving}
+ Page Should Contain Element ${xpath_select_maximum_performance}
+ Page Should Contain Element ${xpath_update_power_save_mode}
Verify Server Power Cap Setting Is On
@@ -88,17 +92,6 @@
Should Not Be True ${power_cap} == 499
-Verify Existence Of All Buttons In Power Page
- [Documentation] Login to GUI and check if all visible
- ... buttons are available on Power page.
- [Tags] Verify_Existence_Of_All_Buttons_In_Power_Page
-
- Page Should Contain Element ${xpath_select_static}
- Page Should Contain Element ${xpath_select_powersaving}
- Page Should Contain Element ${xpath_select_maximum_performance}
- Page Should Contain Element ${xpath_update_power_save_mode}
-
-
*** Keywords ***
Is Power Cap Value Set