Fix GUI Server Power operations suite failures

Resolves openbmc/openbmc-test-automation#1885

Change-Id: Iedefa5ef809c5c4bb3962994d2d5df48468b90eb
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
diff --git a/gui/data/resource_variables.py b/gui/data/resource_variables.py
index aa4892d..1dfe247 100644
--- a/gui/data/resource_variables.py
+++ b/gui/data/resource_variables.py
@@ -17,15 +17,12 @@
     xpath_openbmc_url = "http://localhost:8080/#/login"
     xpath_openbmc_ip = "//*[@id='login__form']/input[1]"
     xpath_power_indicator = "//*[@id='power-indicator-bar']"
-    xpath_display_server_power_status = \
-        "//*[@id='header__wrapper']/div/div[3]/a[3]/span"
     xpath_select_button_power_on = "//*[@id='power__power-on']"
 
     xpath_select_button_warm_reboot = \
         "//*[@id='power__warm-boot']"
-    xpath_warm_reboot_warning_message = \
-        "//*[@id='power-operations']" \
-        "/div[3]/div[3]/confirm/div/div[1]/p[1]/strong"
+    xpath_operation_warning_message = \
+        "//*[@class='inline__confirm active']"
     xpath_select_button_warm_reboot_no = \
         "//*[@id='power-operations']/div[3]" \
         "/div[3]/confirm/div/div[2]/button[2]"
@@ -36,9 +33,6 @@
 
     xpath_select_button_cold_reboot = \
         "//*[@id='power__cold-boot']"
-    xpath_cold_reboot_warning_message = \
-        "//*[@id='power-operations']/div[3]/div[4]" \
-        "/confirm/div/div[1]/p[1]/strong"
     xpath_select_button_cold_reboot_no = \
         "//*[@id='power-operations']/div[3]/div[4]" \
         "/confirm/div/div[2]/button[2]"
@@ -49,9 +43,6 @@
 
     xpath_select_button_orderly_shutdown = \
         "//*[@id='power__soft-shutdown']"
-    xpath_orderly_shutdown_warning_message = \
-        "//*[@id='power-operations']/div[3]/div[5]/" \
-        "confirm/div/div[1]/p[1]/strong"
     xpath_select_button_orderly_shutdown_button_no = \
         "//*[@id='power-operations']/div[3]/div[5]"\
         "/confirm/div/div[2]/button[2]"
@@ -62,9 +53,6 @@
 
     xpath_select_button_immediate_shutdown = \
         "//*[@id='power__hard-shutdown']"
-    xpath_immediate_shutdown_warning_message = \
-        "//*[@id='power-operations']/div[3]/div[6]" \
-        "/confirm/div/div[1]/p[1]/strong"
     xpath_select_button_immediate_shutdown_no = \
         "//*[@id='power-operations']/div[3]/div[6]" \
         "/confirm/div/div[2]/button[2]"