Rahul Maheshwari | d29cf30 | 2020-07-07 03:13:17 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test OpenBMC GUI "Event logs" sub-menu. |
| 4 | |
| 5 | Resource ../../lib/resource.robot |
| 6 | |
| 7 | Suite Setup Launch Browser And Login GUI |
| 8 | Suite Teardown Close Browser |
| 9 | Test Setup Test Setup Execution |
| 10 | |
| 11 | |
Sushma M M | 15fa20d | 2020-08-31 02:25:52 -0500 | [diff] [blame] | 12 | *** Variables *** |
| 13 | ${xpath_event_logs_heading} //h1[text()="Event logs"] |
| 14 | |
Rahul Maheshwari | d29cf30 | 2020-07-07 03:13:17 -0500 | [diff] [blame] | 15 | *** Test Cases *** |
| 16 | |
Sushma M M | 15fa20d | 2020-08-31 02:25:52 -0500 | [diff] [blame] | 17 | Verify Navigation To Event Logs Page |
| 18 | [Documentation] Verify navigation to Event Logs page. |
| 19 | [Tags] Verify_Navigation_To_Event_Logs_Page |
| 20 | |
| 21 | Page Should Contain Element ${xpath_event_logs_heading} |
| 22 | |
| 23 | |
Rahul Maheshwari | d29cf30 | 2020-07-07 03:13:17 -0500 | [diff] [blame] | 24 | Verify Existence Of All Sections In Event Logs Page |
| 25 | [Documentation] Verify existence of all sections in Event Logs page. |
| 26 | [Tags] Verify_Existence_Of_All_Sections_In_Event_Logs_Page |
| 27 | |
| 28 | Page Should Contain Event logs |
| 29 | |
| 30 | |
| 31 | *** Keywords *** |
| 32 | |
| 33 | Test Setup Execution |
| 34 | [Documentation] Do test case setup tasks. |
| 35 | |
| 36 | Click Element ${xpath_health_menu} |
| 37 | Click Element ${xpath_event_logs_sub_menu} |
| 38 | Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain event-logs |