blob: 78dd8c2ab26faf903a7dda80f0aa68b75dead980 [file] [log] [blame]
Sushma M M0cfe0fd2020-08-31 03:18:54 -05001*** Settings ***
2
3Documentation Test OpenBMC GUI "Hardware Status" sub-menu of "Health" menu.
4
Rahul Maheshwari41747da2020-11-17 09:09:52 -06005Resource ../../lib/gui_resource.robot
Sushma M M0cfe0fd2020-08-31 03:18:54 -05006
7Suite Setup Launch Browser And Login GUI
8Suite Teardown Close Browser
9Test Setup Test Setup Execution
10
11
12*** Variables ***
13
14${xpath_hardware_status_heading} //h1[text()="Hardware status"]
15
16*** Test Cases ***
17
18Verify Navigation To Hardware Status Page
19 [Documentation] Verify navigation to hardware status page.
20 [Tags] Verify_Navigation_To_Hardware_Status_Page
21
22 Page Should Contain Element ${xpath_hardware_status_heading}
23
24
Anusha Dathatri36ec5a62020-11-11 01:12:10 -060025Verify Components On Hardware Status Page
26 [Documentation] Verify whether required components are displayed hardware status page.
27 [Tags] Verify_Components_On_Hardware_Status_Page
28
29 Page Should Contain System
30 Page Should Contain BMC manager
31 Page Should Contain Chassis
32 Page Should Contain DIMM slot
33 Page Should Contain Fans
34 Page Should Contain Power supplies
35 Page Should Contain Processors
36
Sushma M M0cfe0fd2020-08-31 03:18:54 -050037*** Keywords ***
38
39Test Setup Execution
40 [Documentation] Do test case setup tasks.
41
42 Click Element ${xpath_health_menu}
43 Click Element ${xpath_hardware_status_sub_menu}
44 Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain hardware-status