Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 3 | Documentation Test OpenBMC GUI "Inventory and LEDs" sub-menu of "Hardware status" menu. |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 4 | |
Rahul Maheshwari | 41747da | 2020-11-17 09:09:52 -0600 | [diff] [blame] | 5 | Resource ../../lib/gui_resource.robot |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 6 | |
Rahul Maheshwari | ea8a531 | 2021-11-24 02:41:25 -0600 | [diff] [blame] | 7 | Suite Setup Suite Setup Execution |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 8 | Suite Teardown Close Browser |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 9 | |
| 10 | |
| 11 | *** Variables *** |
| 12 | |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 13 | ${xpath_inventory_and_leds_heading} //h1[text()="Inventory and LEDs"] |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 14 | |
| 15 | *** Test Cases *** |
| 16 | |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 17 | Verify Navigation To Inventory And LEDs Page |
| 18 | [Documentation] Verify navigation to inventory page. |
| 19 | [Tags] Verify_Navigation_To_Inventory_And_LEDs_Page |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 20 | |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 21 | Page Should Contain Element ${xpath_inventory_and_leds_heading} |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 22 | |
| 23 | |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 24 | Verify Components On Inventory And LEDs Page |
| 25 | [Documentation] Verify whether required components are displayed under inventory and LEDs page. |
| 26 | [Tags] Verify_Components_On_Inventory_And_LEDs_Page |
Anusha Dathatri | 36ec5a6 | 2020-11-11 01:12:10 -0600 | [diff] [blame] | 27 | |
| 28 | Page Should Contain System |
| 29 | Page Should Contain BMC manager |
| 30 | Page Should Contain Chassis |
| 31 | Page Should Contain DIMM slot |
| 32 | Page Should Contain Fans |
| 33 | Page Should Contain Power supplies |
| 34 | Page Should Contain Processors |
rramyasr-in | 6875a4a | 2021-12-05 22:37:13 -0600 | [diff] [blame] | 35 | Page Should Contain Assemblies |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 36 | |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 37 | *** Keywords *** |
| 38 | |
Rahul Maheshwari | ea8a531 | 2021-11-24 02:41:25 -0600 | [diff] [blame] | 39 | Suite Setup Execution |
| 40 | [Documentation] Do test suite setup tasks. |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 41 | |
Rahul Maheshwari | ea8a531 | 2021-11-24 02:41:25 -0600 | [diff] [blame] | 42 | Launch Browser And Login GUI |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 43 | 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 |