Sivas SRR | 008dcc6 | 2018-02-27 06:34:56 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test Open BMC GUI server health under GUI Header. |
| 4 | |
| 5 | Resource ../../lib/resource.robot |
Rahul Maheshwari | b89977a | 2019-02-05 00:21:48 -0600 | [diff] [blame] | 6 | Resource ../../../lib/boot_utils.robot |
| 7 | Resource ../../../lib/utils.robot |
| 8 | Resource ../../../lib/openbmc_ffdc.robot |
| 9 | Resource ../../../lib/state_manager.robot |
| 10 | Resource ../../../lib/openbmc_ffdc_methods.robot |
| 11 | Resource ../../../lib/dump_utils.robot |
| 12 | Resource ../../../lib/logging_utils.robot |
| 13 | Library ../../../lib/gen_robot_keyword.py |
Sivas SRR | 008dcc6 | 2018-02-27 06:34:56 -0600 | [diff] [blame] | 14 | |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 15 | Test Setup Test Setup Execution |
| 16 | Test Teardown Test Teardown Execution |
| 17 | |
Sivas SRR | 008dcc6 | 2018-02-27 06:34:56 -0600 | [diff] [blame] | 18 | |
| 19 | *** Test Cases *** |
| 20 | |
| 21 | Verify Event Log Text Appears By Clicking Server Health |
| 22 | [Documentation] Check that "Event Log" text appears by clicking server |
| 23 | ... health in GUI header. |
| 24 | [Tags] Verify_Event_Log_Text_Appears_By_Clicking_Server_Health |
| 25 | |
| 26 | Wait Until Page Contains Element event-log |
| 27 | Page should contain Event log |
| 28 | |
| 29 | |
| 30 | Verify Filters By Severity Elements Appears |
Sivas SRR | 179208e | 2018-03-01 04:08:23 -0600 | [diff] [blame] | 31 | [Documentation] Check that the "event log" filters appears by clicking |
| 32 | ... server health in GUI header. |
Sivas SRR | 008dcc6 | 2018-02-27 06:34:56 -0600 | [diff] [blame] | 33 | [Tags] Verify_Filters_By_Severity_Elements_Appears |
| 34 | |
| 35 | # Types of event severity: All, High, Medium, Low. |
| 36 | Page Should Contain Element ${xpath_event_severity_all} limit=1 |
| 37 | Page Should Contain Element ${xpath_event_severity_high} limit=1 |
| 38 | Page Should Contain Element ${xpath_event_severity_medium} limit=1 |
| 39 | Page Should Contain Element ${xpath_event_severity_low} limit=1 |
| 40 | |
| 41 | |
| 42 | Verify Drop Down Button User Timezone Appears |
Sivas SRR | 179208e | 2018-03-01 04:08:23 -0600 | [diff] [blame] | 43 | [Documentation] Check that the "drop down" button of user timezone appears |
| 44 | ... by clicking server health in GUI header. |
Sivas SRR | 008dcc6 | 2018-02-27 06:34:56 -0600 | [diff] [blame] | 45 | [Tags] Verify_Drop_Down_Button_User_Timezone_Appears |
| 46 | |
| 47 | Page Should Contain Button ${xpath_drop_down_timezone_edt} |
| 48 | # Ensure that page is not in refreshing state. |
| 49 | # It helps to click the drop down element. |
| 50 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
Rahul Maheshwari | bc7adca | 2018-11-26 01:13:41 -0600 | [diff] [blame] | 51 | Click Element //*[@class='dropdown__button'] |
Sivas SRR | 008dcc6 | 2018-02-27 06:34:56 -0600 | [diff] [blame] | 52 | Page Should Contain Button ${xpath_drop_down_timezone_utc} |
| 53 | |
Sivas SRR | 179208e | 2018-03-01 04:08:23 -0600 | [diff] [blame] | 54 | |
| 55 | Verify Content Search Element Appears |
| 56 | [Documentation] Check that the "event search element is available with |
| 57 | ... filter" button appears. |
| 58 | [Tags] Verify_Content_Search_Element_Appears |
| 59 | |
| 60 | Page Should Contain Element content__search-input limit=1 |
| 61 | # Ensure that page is not in refreshing state. |
| 62 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 63 | Page Should Contain Button content__search-submit |
| 64 | |
| 65 | |
| 66 | Verify Filter By Date Element Appears |
| 67 | [Documentation] Check that the "filter by date" elements are available and |
| 68 | ... visible. |
| 69 | [Tags] Verify_Filter_By_Date_Element_Appears |
| 70 | |
| 71 | Wait Until Element Is Visible event-filter-start-date |
| 72 | Page Should Contain Element event-filter-start-date limit=1 |
| 73 | Page Should Contain Element event-filter-end-date limit=1 |
| 74 | |
| 75 | |
| 76 | Verify Filter By Event Status Element Appears |
| 77 | [Documentation] Check that the "filter by event status" element appears. |
| 78 | [Tags] Verify_Filter_By_Event_Status_Element_Appears |
| 79 | |
| 80 | # Ensure that page is not in refreshing state. |
| 81 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
Rahul Maheshwari | bc7adca | 2018-11-26 01:13:41 -0600 | [diff] [blame] | 82 | Wait Until Element is Visible //*[@class='dropdown__wrapper'] |
| 83 | Click Element //*[@class='dropdown__wrapper'] |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 84 | Page Should Contain Element ${xpath_event_filter_all} limit=2 |
Sivas SRR | 179208e | 2018-03-01 04:08:23 -0600 | [diff] [blame] | 85 | Page Should Contain Element ${xpath_event_filter_resolved} limit=1 |
| 86 | Page Should Contain Element ${xpath_event_filter_unresolved} limit=1 |
Sivas SRR | 162bf48 | 2018-03-02 07:01:16 -0600 | [diff] [blame] | 87 | |
| 88 | |
| 89 | Verify Event Action Bar Element Appears |
| 90 | [Documentation] Check that "event action bar" element appears. |
| 91 | [Tags] Verify_Event_Action_Bar_Element_Appears |
| 92 | |
| 93 | # Ensure that page is not in refreshing state. |
| 94 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 95 | Page Should Contain Element ${xpath_event_action_bars} limit=1 |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 96 | Page Should Contain Element ${xpath_select_all_events} |
Sivas SRR | 162bf48 | 2018-03-02 07:01:16 -0600 | [diff] [blame] | 97 | |
| 98 | |
| 99 | Verify Click Events Check Box |
| 100 | [Documentation] Check that "event check box" element appears and on click |
| 101 | ... should be able to see elements like "Delete" button and "Export" |
| 102 | ... element. |
| 103 | [Tags] Verify_Click_Events_Check_Box |
| 104 | |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 105 | Create Test Error Log |
| 106 | Click Element ${xpath_select_refresh_button} |
Sivas SRR | 162bf48 | 2018-03-02 07:01:16 -0600 | [diff] [blame] | 107 | # Ensure that page is not in refreshing state. |
| 108 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 109 | Click Element ${xpath_select_all_events} |
Sivas SRR | 162bf48 | 2018-03-02 07:01:16 -0600 | [diff] [blame] | 110 | Page Should Contain Button ${xpath_event_action_delete} limit=1 |
| 111 | Page Should Contain Element ${xpath_event_action_export} limit=1 |
| 112 | |
| 113 | |
| 114 | Verify Number of Events Appears |
| 115 | [Documentation] Check that "number of events" element appears and value is |
| 116 | ... visible. |
| 117 | [Tags] Verify_Number_of_Events_Appears |
| 118 | |
| 119 | # Ensure that page is not in refreshing state. |
| 120 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 121 | Page Should Contain Element ${xpath_number_of_events} |
| 122 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 123 | Log To Console \n Number of Events:${number_of_events} |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 124 | |
| 125 | |
| 126 | Select All Error Logs And Mark As Resolved |
| 127 | [Documentation] Select all error logs and mark them as resolved. |
| 128 | [Tags] Select_All_Error_Logs_And_Mark_As_Resolved |
| 129 | |
| 130 | Create Test Error Log |
| 131 | Create Test Error Log |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 132 | Click Element ${xpath_select_refresh_button} |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 133 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 134 | Page Should Contain Element ${xpath_number_of_events} |
| 135 | ${number_of_events}= Get Text ${xpath_number_of_events} |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 136 | Click Element ${xpath_select_all_events} |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 137 | Run Keyword If ${number_of_events} > 0 |
| 138 | ... Click Element ${xpath_mark_as_resolved} |
| 139 | Element Should Be Disabled ${xpath_mark_as_resolved} |
| 140 | |
| 141 | |
| 142 | Select All Error Logs And Click Export |
| 143 | [Documentation] Select all error logs and click export element. |
| 144 | [Tags] Select_All_Error_Logs_And_Click_Export |
| 145 | |
| 146 | Create Test Error Log |
| 147 | Create Test Error Log |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 148 | Click Element ${xpath_select_refresh_button} |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 149 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 150 | Page Should Contain Element ${xpath_number_of_events} |
| 151 | ${number_of_events}= Get Text ${xpath_number_of_events} |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 152 | Click Element ${xpath_select_all_events} |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 153 | Page Should Contain Element ${xpath_events_export} |
| 154 | Run Keyword If ${number_of_events} > 0 |
| 155 | ... Click Element ${xpath_events_export} |
| 156 | |
| 157 | |
| 158 | Select All Error Logs And Delete |
| 159 | [Documentation] Select all error logs and delete them. |
| 160 | [Tags] Select_All_Error_Logs_And_Delete |
| 161 | |
| 162 | Create Test Error Log |
| 163 | Create Test Error Log |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 164 | Click Element ${xpath_select_refresh_button} |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 165 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 166 | Page Should Contain Element ${xpath_number_of_events} |
| 167 | ${number_of_events}= Get Text ${xpath_number_of_events} |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 168 | Run Keyword If ${number_of_events} > 0 |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 169 | ... Common Event Log Click Element ${xpath_individual_event_delete} |
| 170 | ... ${xpath_yes_button} ${xpath_select_all_events} |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 171 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 172 | Should Be Equal ${number_of_events} 0 |
| 173 | |
| 174 | |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 175 | Select Single Error Log And Delete |
| 176 | [Documentation] Select single error log and delete it. |
| 177 | [Tags] Select_Single_Error_Log_And_Delete |
| 178 | |
| 179 | Create Test Error Log |
| 180 | # Refresh the GUI to get the latest update. |
| 181 | Click Element ${xpath_select_refresh_button} |
| 182 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 183 | Page Should Contain Element ${xpath_number_of_events} |
| 184 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 185 | Run Keyword If ${number_of_events} > 0 |
| 186 | ... Common Event Log Click Element ${xpath_individual_event_delete} |
Rahul Maheshwari | 65f6944 | 2018-11-27 04:43:00 -0600 | [diff] [blame] | 187 | ... ${xpath_yes_button} |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 188 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 189 | Should Be Equal ${number_of_events} 0 |
| 190 | ... msg=Failed to delete single error log entry. |
| 191 | |
| 192 | |
| 193 | Select Multiple Error Logs And Delete |
| 194 | [Documentation] Select multiple error logs and delete them. |
| 195 | [Tags] Select_Multiple_Error_Logs_And_Delete |
| 196 | |
| 197 | Create Test Error Log |
| 198 | Create Test Error Log |
| 199 | # Refresh the GUI to get the latest update. |
| 200 | Click Element ${xpath_select_refresh_button} |
| 201 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 202 | Page Should Contain Element ${xpath_number_of_events} |
| 203 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 204 | Run Keyword If ${number_of_events} > 0 |
Sivas SRR | 1a94d00 | 2018-04-06 08:48:58 -0500 | [diff] [blame] | 205 | ... Double Event Log Click Element ${xpath_individual_event_delete} |
Rahul Maheshwari | 65f6944 | 2018-11-27 04:43:00 -0600 | [diff] [blame] | 206 | ... ${xpath_yes_button} |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 207 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 208 | Should Be Equal ${number_of_events} 0 |
| 209 | ... msg=Failed to delete multiple error log entries. |
| 210 | |
| 211 | |
| 212 | Select Single Error Log And Mark As Resolved |
| 213 | [Documentation] Select single error log and mark as resolved. |
| 214 | [Tags] Select_Single_Error_Log_And_Mark_As_Resolved |
| 215 | |
| 216 | Create Test Error Log |
Sivas SRR | 1a94d00 | 2018-04-06 08:48:58 -0500 | [diff] [blame] | 217 | # Refresh the GUI to get the latest update. |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 218 | Click Element ${xpath_select_refresh_button} |
| 219 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 220 | Page Should Contain Element ${xpath_number_of_events} |
| 221 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 222 | Run Keyword If ${number_of_events} > 0 |
Rahul Maheshwari | 65f6944 | 2018-11-27 04:43:00 -0600 | [diff] [blame] | 223 | ... Common Event Log Click Element ${xpath_individual_event_resolved} |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 224 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 225 | Should Be Equal ${number_of_events} 1 |
| 226 | ... msg=Failed to mark single error log entry as resolved. |
| 227 | |
Sivas SRR | 1a94d00 | 2018-04-06 08:48:58 -0500 | [diff] [blame] | 228 | |
| 229 | Select Multiple Error Logs And Mark As Resolved |
| 230 | [Documentation] Select multiple error logs and mark as resolved. |
| 231 | [Tags] Select_Multiple_Error_Logs_And_Mark_As_Resolved |
| 232 | |
| 233 | Create Test Error Log |
| 234 | Create Test Error Log |
| 235 | # Refresh the GUI to get the latest update. |
| 236 | Click Element ${xpath_select_refresh_button} |
| 237 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 238 | Page Should Contain Element ${xpath_number_of_events} |
| 239 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 240 | Run Keyword If ${number_of_events} > 0 |
Rahul Maheshwari | 65f6944 | 2018-11-27 04:43:00 -0600 | [diff] [blame] | 241 | ... Double Event Log Click Element ${xpath_individual_event_resolved} |
Sivas SRR | 1a94d00 | 2018-04-06 08:48:58 -0500 | [diff] [blame] | 242 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 243 | Should Be Equal ${number_of_events} 2 |
| 244 | ... msg=Failed to mark multiple error log entries as resolved. |
| 245 | |
| 246 | |
| 247 | Select Single Error Log And Export |
| 248 | [Documentation] Select single error log and export. |
| 249 | [Tags] Select_Single_Error_Log_And_Export |
| 250 | |
| 251 | Create Test Error Log |
| 252 | # Refresh the GUI to get the latest update. |
| 253 | Click Element ${xpath_select_refresh_button} |
| 254 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 255 | Page Should Contain Element ${xpath_number_of_events} |
| 256 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 257 | Run Keyword If ${number_of_events} > 0 |
Rahul Maheshwari | 65f6944 | 2018-11-27 04:43:00 -0600 | [diff] [blame] | 258 | ... Common Event Log Click Element ${xpath_individual_event_export} |
Sivas SRR | 1a94d00 | 2018-04-06 08:48:58 -0500 | [diff] [blame] | 259 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 260 | Should Be Equal ${number_of_events} 1 |
| 261 | ... msg=Failed to export single error log entry. |
| 262 | |
| 263 | |
| 264 | Select Multiple Error Log And Export |
| 265 | [Documentation] Select multiple error log and export. |
| 266 | [Tags] Select_Multiple_Error_Log_And_Export |
| 267 | |
| 268 | Create Test Error Log |
| 269 | Create Test Error Log |
| 270 | # Refresh the GUI to get the latest update. |
| 271 | Click Element ${xpath_select_refresh_button} |
| 272 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
| 273 | Page Should Contain Element ${xpath_number_of_events} |
| 274 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 275 | Run Keyword If ${number_of_events} > 0 |
Rahul Maheshwari | 65f6944 | 2018-11-27 04:43:00 -0600 | [diff] [blame] | 276 | ... Double Event Log Click Element ${xpath_individual_event_export} |
Sivas SRR | 1a94d00 | 2018-04-06 08:48:58 -0500 | [diff] [blame] | 277 | ${number_of_events}= Get Text ${xpath_number_of_events} |
| 278 | Should Be Equal ${number_of_events} 2 |
| 279 | ... msg=Failed to export multiple error log entries. |
| 280 | |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 281 | *** Keywords *** |
| 282 | |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 283 | Common Event Log Click Element |
| 284 | [Documentation] Keep common click elements associated with event log. |
Rahul Maheshwari | 65f6944 | 2018-11-27 04:43:00 -0600 | [diff] [blame] | 285 | [Arguments] ${action_element} ${action_click_confirmation}=${None} |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 286 | ... ${xpath_event_select}=${xpath_individual_event_select} |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 287 | |
| 288 | # Description of argument(s): |
Sivas SRR | 1a94d00 | 2018-04-06 08:48:58 -0500 | [diff] [blame] | 289 | # action_element xpath value of the element to be actioned |
| 290 | # (e.g. "Delete" or "Resolved" or "Export"). |
| 291 | # action_click_confirmation Confirmation of action by pressing yes |
| 292 | # (e.g. "Yes" or "No"). |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 293 | # xpath_event_select xpath to select event log. |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 294 | |
Anusha Dathatri | cae580a | 2019-10-16 06:17:19 -0500 | [diff] [blame] | 295 | Click Element ${xpath_event_select} |
Sivas SRR | 1a94d00 | 2018-04-06 08:48:58 -0500 | [diff] [blame] | 296 | Page Should Contain Element ${action_element} |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 297 | Click Element ${action_element} |
| 298 | Wait Until Page Does Not Contain Element ${xpath_refresh_circle} |
Rahul Maheshwari | 65f6944 | 2018-11-27 04:43:00 -0600 | [diff] [blame] | 299 | Run Keyword If "${action_click_confirmation}" != "${None}" |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 300 | ... Click Element ${action_click_confirmation} |
| 301 | Click Element ${xpath_select_refresh_button} |
| 302 | Run Key Sleep \ 50s |
| 303 | |
| 304 | Double Event Log Click Element |
Sivas SRR | 1a94d00 | 2018-04-06 08:48:58 -0500 | [diff] [blame] | 305 | [Documentation] Keep double click elements associated with event logs. |
Rahul Maheshwari | 65f6944 | 2018-11-27 04:43:00 -0600 | [diff] [blame] | 306 | [Arguments] ${action_element} ${action_click_confirmation}=${None} |
Sivas SRR | 1a94d00 | 2018-04-06 08:48:58 -0500 | [diff] [blame] | 307 | |
| 308 | # Description of argument(s): |
| 309 | # action_element xpath value of the element to be actioned |
| 310 | # (e.g. "Delete" or "Resolved" or "Export"). |
| 311 | # action_click_confirmation Confirmation of action by pressing yes |
| 312 | # (e.g. "Yes" or "No"). |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 313 | |
| 314 | Click Element ${xpath_second_event_select} |
Sivas SRR | 1a94d00 | 2018-04-06 08:48:58 -0500 | [diff] [blame] | 315 | Common Event Log Click Element ${action_element} |
| 316 | ... ${action_click_confirmation} |
Sivas SRR | 2631b63 | 2018-04-04 11:33:21 -0500 | [diff] [blame] | 317 | |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 318 | Test Setup Execution |
| 319 | [Documentation] Do test case setup tasks. |
Rahul Maheshwari | 2f8aaa0 | 2018-11-29 00:23:09 -0600 | [diff] [blame] | 320 | |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 321 | ${status}= Run Keyword And Return Status Logging Test Binary Exist |
| 322 | Run Keyword If ${status} == ${False} Install Tarball |
| 323 | Delete Error Logs And Verify |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 324 | |
Rahul Maheshwari | 2a674e2 | 2018-12-06 01:40:56 -0600 | [diff] [blame] | 325 | # Launch the GUI and navigate to server health page. |
| 326 | Launch Browser And Login OpenBMC GUI |
Rahul Maheshwari | 2f8aaa0 | 2018-11-29 00:23:09 -0600 | [diff] [blame] | 327 | Click Element ${xpath_select_server_health} |
| 328 | Wait Until Page Contains Event log |
Sivas SRR | be02691 | 2018-03-14 11:33:02 -0500 | [diff] [blame] | 329 | |
| 330 | Test Teardown Execution |
| 331 | [Documentation] Do the post test teardown. |
| 332 | |
| 333 | FFDC On Test Case Fail |
| 334 | Delete All Error Logs |
| 335 | Close All Connections |
Rahul Maheshwari | 2a674e2 | 2018-12-06 01:40:56 -0600 | [diff] [blame] | 336 | Close Browser |