Added tests for control menu
Changes:
Added suite and basic test case for following pages under control menu:
- Power Usage
- Reboot BMC
- Server LED
- Server power operations
Change-Id: I625bdbf1ad71fb989341368fe38b4d66db3006da
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/gui/data/resource_variables.py b/gui/data/resource_variables.py
index 3a61268..c4e4c52 100644
--- a/gui/data/resource_variables.py
+++ b/gui/data/resource_variables.py
@@ -124,3 +124,10 @@
# New GUI variables
xpath_login_button = "//button[@type='submit']"
xpath_logout_button = "//button[@id='app-header-logout']"
+
+ # xpath for control menu
+ xpath_control_menu = "//button[@aria-controls='control-menu']"
+ xpath_manage_power_usage_sub_menu = "//a[@href='#/control/manage-power-usage']"
+ xpath_reboot_bmc_sub_menu = "//a[@href='#/control/reboot-bmc']"
+ xpath_server_led_sub_menu = "//a[@href='#/control/server-led']"
+ xpath_server_power_operations_sub_menu = "//a[@href='#/control/server-power-operations']"