Added testcase for verify severity button - OK
Changes:
-Added Verify_Filter_By_Severity_Button_OK in sensor sub-menu
Change-Id: I90c62c141a54b3570b5928795c98de22d647ae10
Signed-off-by: Sushma M M <sushmm99@in.ibm.com>
Signed-off-by: Ashwini Chandrappa <Ashwini.Chandrappa777@ibm.com>
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 600eda8..776b8dd 100644
--- a/gui/gui_test/health_menu/test_obmc_gui_sensors.robot
+++ b/gui/gui_test/health_menu/test_obmc_gui_sensors.robot
@@ -97,6 +97,24 @@
Element Should Not Be Visible ${xpath_selected_severity}
+Verify Filter By Severity Button OK
+ [Documentation] Select severity button OK from filter and verify.
+ [Tags] Verify_Filter_By_Severity_Button_OK
+
+ Wait Until Page Contains Element ${xpath_sensors_filter} timeout=15s
+ Click Element ${xpath_sensors_filter}
+
+ # Select OK severity from filter.
+ Wait Until Page Contains Element ${xpath_filter_ok} timeout=5s
+
+ Click Element At Coordinates ${xpath_filter_ok} 0 0
+ Click Element ${xpath_sensors_filter}
+
+ Element Should Contain ${xpath_selected_severity} OK
+ Element Should Not Contain ${xpath_selected_severity} Warning
+ Element Should Not Contain ${xpath_selected_severity} Critical
+
+
*** Keywords ***
Test Setup Execution