Xpath of severity elements fixed in gui server health page

Change-Id: I2de2d226389713490c3aa3d9e08ff6deaf5b273e
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
diff --git a/gui/data/resource_variables.py b/gui/data/resource_variables.py
index 9ef949a..f99070d 100644
--- a/gui/data/resource_variables.py
+++ b/gui/data/resource_variables.py
@@ -88,10 +88,10 @@
         "//*[@id='header__wrapper']/div/div[3]/a[2]/span"
     xpath_select_refresh_button = \
         "//*[contains(text(),'Refresh')]"
-    xpath_event_severity_all = "//*[@id='event-filter']/div[1]/button[1]"
-    xpath_event_severity_high = "//*[@id='event-filter']/div[1]/button[2]"
-    xpath_event_severity_medium = "//*[@id='event-filter']/div[1]/button[3]"
-    xpath_event_severity_low = "//*[@id='event-filter']/div[1]/button[4]"
+    xpath_event_severity_all = "//*[text()='Filter by severity']/following-sibling::button[1]"
+    xpath_event_severity_high = "//*[text()='Filter by severity']/following-sibling::button[2]"
+    xpath_event_severity_medium = "//*[text()='Filter by severity']/following-sibling::button[3]"
+    xpath_event_severity_low = "//*[text()='Filter by severity']/following-sibling::button[4]"
     xpath_drop_down_timezone_edt = \
         "//*[@id='event-log']/section[1]/div/div/button"
     xpath_refresh_circle = "/html/body/main/loader/div[1]/svg/circle"