blob: cf6bd1e86b44e50962e68db834c38bc54a7c47e3 [file] [log] [blame]
Sushma M M0cfe0fd2020-08-31 03:18:54 -05001*** Settings ***
2
Rahul Maheshwari142642d2021-08-24 00:00:15 -05003Documentation Test OpenBMC GUI "Inventory and LEDs" sub-menu of "Hardware status" menu.
Sushma M M0cfe0fd2020-08-31 03:18:54 -05004
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
Rahul Maheshwari142642d2021-08-24 00:00:15 -050014${xpath_inventory_and_leds_heading} //h1[text()="Inventory and LEDs"]
Sushma M M0cfe0fd2020-08-31 03:18:54 -050015
16*** Test Cases ***
17
Rahul Maheshwari142642d2021-08-24 00:00:15 -050018Verify Navigation To Inventory And LEDs Page
19 [Documentation] Verify navigation to inventory page.
20 [Tags] Verify_Navigation_To_Inventory_And_LEDs_Page
Sushma M M0cfe0fd2020-08-31 03:18:54 -050021
Rahul Maheshwari142642d2021-08-24 00:00:15 -050022 Page Should Contain Element ${xpath_inventory_and_leds_heading}
Sushma M M0cfe0fd2020-08-31 03:18:54 -050023
24
Rahul Maheshwari142642d2021-08-24 00:00:15 -050025Verify Components On Inventory And LEDs Page
26 [Documentation] Verify whether required components are displayed under inventory and LEDs page.
27 [Tags] Verify_Components_On_Inventory_And_LEDs_Page
Anusha Dathatri36ec5a62020-11-11 01:12:10 -060028
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
Rahul Maheshwari142642d2021-08-24 00:00:15 -050037
Sushma M M0cfe0fd2020-08-31 03:18:54 -050038*** Keywords ***
39
40Test Setup Execution
41 [Documentation] Do test case setup tasks.
42
Rahul Maheshwari142642d2021-08-24 00:00:15 -050043 Click Element ${xpath_hardware_status_menu}
44 Click Element ${xpath_inventory_and_leds_sub_menu}
45 Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain inventory