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 | |
George Keishing | 0302e9a | 2023-10-12 21:48:35 +0530 | [diff] [blame] | 10 | Force Tags Inventory_And_Leds_Sub_Menu |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 11 | |
| 12 | *** Variables *** |
| 13 | |
rramyasr-in | 209ef15 | 2022-06-14 04:07:38 -0500 | [diff] [blame] | 14 | ${xpath_inventory_and_leds_heading} //h1[text()="Inventory and LEDs"] |
rramyasr-in | b9fe238 | 2022-08-11 02:34:03 -0500 | [diff] [blame] | 15 | ${xpath_page_loading_progress_bar} //*[@aria-label='Page loading progress bar'] |
| 16 | |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 17 | *** Test Cases *** |
| 18 | |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 19 | Verify Navigation To Inventory And LEDs Page |
| 20 | [Documentation] Verify navigation to inventory page. |
| 21 | [Tags] Verify_Navigation_To_Inventory_And_LEDs_Page |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 22 | |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 23 | Page Should Contain Element ${xpath_inventory_and_leds_heading} |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 24 | |
| 25 | |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 26 | Verify 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 |
rramyasr-in | 9798016 | 2022-10-31 09:16:14 -0500 | [diff] [blame] | 29 | [Template] Page Should Contain |
Anusha Dathatri | 36ec5a6 | 2020-11-11 01:12:10 -0600 | [diff] [blame] | 30 | |
rramyasr-in | 9798016 | 2022-10-31 09:16:14 -0500 | [diff] [blame] | 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 | |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 45 | |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 46 | *** Keywords *** |
| 47 | |
Rahul Maheshwari | ea8a531 | 2021-11-24 02:41:25 -0600 | [diff] [blame] | 48 | Suite Setup Execution |
| 49 | [Documentation] Do test suite setup tasks. |
Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 50 | |
Rahul Maheshwari | ea8a531 | 2021-11-24 02:41:25 -0600 | [diff] [blame] | 51 | Launch Browser And Login GUI |
Rahul Maheshwari | 142642d | 2021-08-24 00:00:15 -0500 | [diff] [blame] | 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 |
rramyasr-in | 209ef15 | 2022-06-14 04:07:38 -0500 | [diff] [blame] | 55 | Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30 |