Added tests to verify navigation to health menu pages
Chagnes:
-Test to verify navigation to Event Logs sub menu page
-Test to verify navigation to Sensors sub menu page
Change-Id: I0613c49765baf90476c184fd54739e556a761791
Signed-off-by: Sushma M M <sushmm99@in.ibm.com>
diff --git a/gui/gui_test/health_menu/test_event_logs_sub_menu.robot b/gui/gui_test/health_menu/test_event_logs_sub_menu.robot
index 93337e6..9696384 100644
--- a/gui/gui_test/health_menu/test_event_logs_sub_menu.robot
+++ b/gui/gui_test/health_menu/test_event_logs_sub_menu.robot
@@ -9,8 +9,18 @@
Test Setup Test Setup Execution
+*** Variables ***
+${xpath_event_logs_heading} //h1[text()="Event logs"]
+
*** Test Cases ***
+Verify Navigation To Event Logs Page
+ [Documentation] Verify navigation to Event Logs page.
+ [Tags] Verify_Navigation_To_Event_Logs_Page
+
+ Page Should Contain Element ${xpath_event_logs_heading}
+
+
Verify Existence Of All Sections In Event Logs Page
[Documentation] Verify existence of all sections in Event Logs page.
[Tags] Verify_Existence_Of_All_Sections_In_Event_Logs_Page
diff --git a/gui/gui_test/health_menu/test_obmc_gui_sensors.robot b/gui/gui_test/health_menu/test_obmc_gui_sensors.robot
index 8907ddd..8f5bd30 100644
--- a/gui/gui_test/health_menu/test_obmc_gui_sensors.robot
+++ b/gui/gui_test/health_menu/test_obmc_gui_sensors.robot
@@ -9,11 +9,19 @@
*** Variables ***
+${xpath_sensor_heading} //h1[text()="Sensors"]
${xpath_sensors_filter} //button[contains(text(),'Filter')]
${xpath_sensors_search} //input[contains(@class,"search-input")]
*** Test Cases ***
+Verify Navigation To Sensors Page
+ [Documentation] Verify navigation to Sensors page.
+ [Tags] Verify_Navigation_To_Sensors_Page
+
+ Page Should Contain Element ${xpath_sensor_heading}
+
+
Verify Existence Of All Sections In Sensor Page
[Documentation] Verify existence of all sections in sensor page.
[Tags] Verify_Existence_Of_All_Sections_In_Event_Logs_Page