Add GUI automation to verify message for no events logs

This commit verifies the message in overview page when there
is no high priority events

Change-Id: I6513e0432fa5f96fac0af698729ff6263fd95799
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/gui/data/resource_variables.py b/gui/data/resource_variables.py
index f85dc9e..0f50c25 100644
--- a/gui/data/resource_variables.py
+++ b/gui/data/resource_variables.py
@@ -134,6 +134,7 @@
     xpath_server_health_header = "//*[@data-test-id='appHeader-container-health']"
     xpath_event_header = "//h1[text()='Event logs']"
     xpath_server_power_header = "//*[@data-test-id='appHeader-container-power']"
+    xpath_refresh_button = "//*[@data-test-id='appHeader-button-refresh']"
 
     # xpath for health menu
     xpath_health_menu = "//button[@aria-controls='health-menu']"
diff --git a/gui/gui_test/overview_menu/test_overview_menu.robot b/gui/gui_test/overview_menu/test_overview_menu.robot
index 4d92fcf..08efa8a 100644
--- a/gui/gui_test/overview_menu/test_overview_menu.robot
+++ b/gui/gui_test/overview_menu/test_overview_menu.robot
@@ -3,6 +3,7 @@
 Documentation  Test OpenBMC GUI "Overview" menu.
 
 Resource        ../../lib/resource.robot
+Resource        ../../../lib/logging_utils.robot
 
 Suite Setup     Launch Browser And Login GUI
 Suite Teardown  Close Browser
@@ -12,10 +13,18 @@
 *** Variables ***
 
 ${xpath_overview_page_header}  //h1[contains(text(), "Overview")]
-${xpath_server_info}           //*[@class='page-section'][contains(.,'Model') and contains(.,'Manufacturer') and contains(.,'Serial number')]
 
 *** Test Cases ***
 
+Verify Message In High Priority Events Section For No Events
+    [Documentation]  Verify message under high priority events section in case of no events.
+    [Tags]  Verify_Message_In_High_Priority_Events_Section_For_No_Events
+
+    Redfish Purge Event Log
+    Click Element  ${xpath_refresh_button}
+    Wait Until Page Contains  no high priority events to display  timeout=10
+
+
 Verify Existence Of All Sections In Overview Page
     [Documentation]  Verify existence of all sections in Overview page.
     [Tags]  Verify_Existence_Of_All_Sections_In_Overview_Page