GUI: Added variables and updated xpath for button.

Changes:
	- Added resolved and unresolved button variables.
        - Updated xpath for 'Download' button.
        - Added wait until step to avoid popup of error log deletion.

Tested:
	-Ran above test case from sandbox successfully

Change-Id: I9746304d3ede5c93af17700fccc706692762488a
Signed-off-by: Nandish-Matti <nandish.matti@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 573655a..81adb52 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
@@ -27,7 +27,10 @@
 ${xpath_confirm_delete}           //button[text()="Delete"]
 ${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")]
+${xpath_event_action_download}    //button[text()[normalize-space()='Download']]
+${xpath_success_message}          //*[contains(text(),"Success")]
+${xpath_resolved_button}          //button[contains(text(),"Resolve")]
+${xpath_unresolved_button}        //button[contains(text(),"Unresolve")]
 
 *** Test Cases ***
 
@@ -77,6 +80,7 @@
     ${number_of_events_after}=  Get Number Of Event Logs
     Should Be Equal  ${number_of_events_before -1}  ${number_of_events_after}
     ...  msg=Failed to delete single error log entry.
+    Wait Until Element Is Not Visible   ${xpath_success_message}  timeout=30
 
 
 Select All Error Logs And Verify Buttons
@@ -86,8 +90,8 @@
     Create Error Logs  ${2}
     Wait Until Element Is Visible  ${xpath_delete_first_row}
     Select All Events
-    Page Should Contain Element  ${xpath_event_status_resolved}
-    Page Should Contain Element  ${xpath_event_status_unresolved}
+    Page Should Contain Element  ${xpath_resolved_button}
+    Page Should Contain Element  ${xpath_unresolved_button}
     Page Should Contain Element  ${xpath_event_action_download}
     Page Should Contain Element  ${xpath_event_action_delete}
     Page Should Contain Element  ${xpath_event_action_cancel}