Updated all the Buttons in Event Log page.
Changes: - Update the test case with all the variables and xpath names for all buttons.
Tested: Ran successfully /gui/gui_test/logs_menu/test_event_logs_sub_menu.robot
Change-Id: If1e19a3b581cb53c633ddbaefea5f69aab084995
Signed-off-by: rramyasr-in <rramyasr@in.ibm.com>
diff --git a/gui/gui_test/logs_menu/test_event_logs_sub_menu.robot b/gui/gui_test/logs_menu/test_event_logs_sub_menu.robot
index 505d72d..98f50b6 100644
--- a/gui/gui_test/logs_menu/test_event_logs_sub_menu.robot
+++ b/gui/gui_test/logs_menu/test_event_logs_sub_menu.robot
@@ -26,6 +26,7 @@
${xpath_confirm_delete} //button[@class="btn btn-primary"]
${xpath_event_status_resolved} //*[@data-test-id="tableFilter-checkbox-Resolved"]
${xpath_event_status_unresolved} //*[@data-test-id="tableFilter-checkbox-Unresolved"]
+${xpath_event_action_download} //button[contains(text(),"Download")]
*** Test Cases ***
@@ -84,10 +85,11 @@
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}
-
+ Page Should Contain Element ${xpath_event_status_resolved}
+ Page Should Contain Element ${xpath_event_status_unresolved}
+ Page Should Contain Element ${xpath_event_action_download}
+ Page Should Contain Element ${xpath_event_action_delete}
+ Page Should Contain Element ${xpath_event_action_cancel}
Select And Verify Default UTC Timezone For Events
[Documentation] Select and verify that default UTC timezone is displayed for an event.