Added missing element click for server power
Resolves openbmc/openbmc-test-automation#1478
Change-Id: Ib1023c30e06c31792a5991f1c628aa125a9ebb6c
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/gui/obmc_gui/data/resource_variables.py b/gui/obmc_gui/data/resource_variables.py
index 2cd2a4a..c49d8a1 100644
--- a/gui/obmc_gui/data/resource_variables.py
+++ b/gui/obmc_gui/data/resource_variables.py
@@ -89,6 +89,9 @@
yes = "1"
No = "2"
+ # GUI header elements locators.
+ xpath_select_server_power = "//a[@href='#/server-control/power-operations']"
+
# Server health elements locators.
xpath_select_server_health = "//*[@id='header__wrapper']/div/div[3]/a[2]"
xpath_server_health_text = \