1*** Settings *** 2 3Documentation Test OpenBMC GUI "Inventory and LEDs" sub-menu of "Hardware status" menu. 4 5Resource ../../lib/gui_resource.robot 6 7Suite Setup Suite Setup Execution 8Suite Teardown Close Browser 9 10Force Tags Inventory_And_Leds_Sub_Menu 11 12*** Variables *** 13 14${xpath_inventory_and_leds_heading} //h1[text()="Inventory and LEDs"] 15${xpath_page_loading_progress_bar} //*[@aria-label='Page loading progress bar'] 16 17*** Test Cases *** 18 19Verify Navigation To Inventory And LEDs Page 20 [Documentation] Verify navigation to inventory page. 21 [Tags] Verify_Navigation_To_Inventory_And_LEDs_Page 22 23 Page Should Contain Element ${xpath_inventory_and_leds_heading} 24 25 26Verify Components On Inventory And LEDs Page 27 [Documentation] Verify whether required components are displayed under inventory and LEDs page. 28 [Tags] Verify_Components_On_Inventory_And_LEDs_Page 29 [Template] Page Should Contain 30 31 # Check all the hardware component are available. 32 33 System indicators 34 Chassis 35 System 36 BMC manager 37 DIMM slot 38 Fans 39 Power supplies 40 Processors 41 Assemblies 42 PCIe slots 43 Fabric Adapters 44 45 46*** Keywords *** 47 48Suite Setup Execution 49 [Documentation] Do test suite setup tasks. 50 51 Launch Browser And Login GUI 52 Click Element ${xpath_hardware_status_menu} 53 Click Element ${xpath_inventory_and_leds_sub_menu} 54 Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain inventory 55 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30 56