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${xpath_edit_network_settings_button} //*[@data-test-id='overviewQuickLinks-button-networkSettings'] 17 18*** Test Cases *** 19 20Verify Message In High Priority Events Section For No Events 21 [Documentation] Verify message under high priority events section in case of no events. 22 [Tags] Verify_Message_In_High_Priority_Events_Section_For_No_Events 23 24 Redfish Purge Event Log 25 Click Element ${xpath_refresh_button} 26 Wait Until Page Contains no high priority events to display timeout=10 27 28 29Verify Existence Of All Sections In Overview Page 30 [Documentation] Verify existence of all sections in Overview page. 31 [Tags] Verify_Existence_Of_All_Sections_In_Overview_Page 32 33 Page Should Contain BMC information 34 Page Should Contain Server information 35 Page Should Contain Network information 36 Page Should Contain Power consumption 37 Page Should Contain High priority events 38 39 40Verify Server Information Section 41 [Documentation] Verify values under server information section in overview page. 42 [Tags] Verify_Server_Information_Section 43 44 ${redfish_machine_model}= Redfish.Get Attribute /redfish/v1/Systems/system/ Model 45 Page Should Contain ${redfish_machine_model} 46 47 ${redfish_serial_number}= Redfish.Get Attribute /redfish/v1/Systems/system/ SerialNumber 48 Page Should Contain ${redfish_serial_number} 49 50 ${redfish_motherboard_manufacturer}= Redfish.Get Attribute 51 ... ${REDFISH_CHASSIS_URI}motherboard Manufacturer 52 53 Page Should Contain ${redfish_motherboard_manufacturer} 54 55 56Verify BMC Information Section 57 [Documentation] Verify BMC information section in overview page. 58 [Tags] Verify_BMC_Information_Section 59 60 ${firmware_version}= Redfish Get BMC Version 61 Page Should Contain ${firmware_version} 62 63 64Verify Edit Network Setting Button 65 [Documentation] Verify navigation to network setting page after clicking the button in overview page. 66 [Tags] Verify_Edit_Network_Setting_Button 67 68 Click Element ${xpath_edit_network_settings_button} 69 Wait Until Page Contains Element ${xpath_network_page_header} 70 71 72*** Keywords *** 73 74Test Setup Execution 75 [Documentation] Do test case setup tasks. 76 77 Click Element ${xpath_overview_menu} 78 Wait Until Page Contains Element ${xpath_overview_page_header} 79 80