1*** Settings *** 2 3Documentation Test OpenBMC GUI "Overview" menu. 4 5Resource ../../lib/resource.robot 6Resource ../../../lib/logging_utils.robot 7 8Suite Setup Launch Browser And Login GUI 9Suite Teardown Close Browser 10Test Setup Test Setup Execution 11 12 13*** Variables *** 14 15${xpath_overview_page_header} //h1[contains(text(), "Overview")] 16 17*** Test Cases *** 18 19Verify Message In High Priority Events Section For No Events 20 [Documentation] Verify message under high priority events section in case of no events. 21 [Tags] Verify_Message_In_High_Priority_Events_Section_For_No_Events 22 23 Redfish Purge Event Log 24 Click Element ${xpath_refresh_button} 25 Wait Until Page Contains no high priority events to display timeout=10 26 27 28Verify Existence Of All Sections In Overview Page 29 [Documentation] Verify existence of all sections in Overview page. 30 [Tags] Verify_Existence_Of_All_Sections_In_Overview_Page 31 32 Page Should Contain BMC information 33 Page Should Contain Server information 34 Page Should Contain Network information 35 Page Should Contain Power consumption 36 Page Should Contain High priority events 37 38 39Verify Server Information Section 40 [Documentation] Verify values under server information section in overview page. 41 [Tags] Verify_Server_Information_Section 42 43 ${redfish_machine_model}= Redfish.Get Attribute /redfish/v1/Systems/system/ Model 44 Page Should Contain ${redfish_machine_model} 45 46 ${redfish_serial_number}= Redfish.Get Attribute /redfish/v1/Systems/system/ SerialNumber 47 Page Should Contain ${redfish_serial_number} 48 49 ${redfish_motherboard_manufacturer}= Redfish.Get Attribute 50 ... ${REDFISH_CHASSIS_URI}motherboard Manufacturer 51 52 Page Should Contain ${redfish_motherboard_manufacturer} 53 54 55Verify BMC Information Section 56 [Documentation] Verify BMC information section in overview page. 57 [Tags] Verify_BMC_Information_Section 58 59 ${firmware_version}= Redfish Get BMC Version 60 Page Should Contain ${firmware_version} 61 62 63*** Keywords *** 64 65Test Setup Execution 66 [Documentation] Do test case setup tasks. 67 68 Click Element ${xpath_overview_menu} 69 Wait Until Page Contains Element ${xpath_overview_page_header} 70 71