Added a test to verify all buttons after selecting all error logs
Select_All_Error_Logs_And_Verify_Buttons
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
Change-Id: I0b1735ddb3374994e1c83e38ac22d98d7f9ca595
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 ff6f96b..279ae48 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
@@ -81,6 +81,19 @@
Should Be Equal ${number_of_events_before -1} ${number_of_events_after}
... msg=Failed to delete single error log entry.
+
+Select All Error Logs And Verify Buttons
+ [Documentation] Select all error logs and verify delete, export and cancel buttons.
+ [Tags] Select_All_Error_Logs_And_Verify_Buttons
+
+ Create Error Logs ${2}
+ Wait Until Element Is Visible ${xpath_delete_first_row}
+ Select All Events
+ Wait Until Element Is Visible ${xpath_event_action_delete}
+ Element Should Be Visible ${xpath_event_action_export}
+ Element Should Be Visible ${xpath_event_action_cancel}
+
+
*** Keywords ***
Suite Setup Execution