blob: 78dd8c2ab26faf903a7dda80f0aa68b75dead980 [file] [log] [blame]
*** Settings ***
Documentation Test OpenBMC GUI "Hardware Status" sub-menu of "Health" menu.
Resource ../../lib/gui_resource.robot
Suite Setup Launch Browser And Login GUI
Suite Teardown Close Browser
Test Setup Test Setup Execution
*** Variables ***
${xpath_hardware_status_heading} //h1[text()="Hardware status"]
*** Test Cases ***
Verify Navigation To Hardware Status Page
[Documentation] Verify navigation to hardware status page.
[Tags] Verify_Navigation_To_Hardware_Status_Page
Page Should Contain Element ${xpath_hardware_status_heading}
Verify Components On Hardware Status Page
[Documentation] Verify whether required components are displayed hardware status page.
[Tags] Verify_Components_On_Hardware_Status_Page
Page Should Contain System
Page Should Contain BMC manager
Page Should Contain Chassis
Page Should Contain DIMM slot
Page Should Contain Fans
Page Should Contain Power supplies
Page Should Contain Processors
*** Keywords ***
Test Setup Execution
[Documentation] Do test case setup tasks.
Click Element ${xpath_health_menu}
Click Element ${xpath_hardware_status_sub_menu}
Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain hardware-status