Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test OpenBMC GUI "Hardware Status" sub-menu of "Health" menu. |
| 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 | |
| 7 | Suite Setup Launch Browser And Login GUI |
| 8 | Suite Teardown Close Browser |
| 9 | Test Setup Test Setup Execution |
| 10 | |
| 11 | |
| 12 | *** Variables *** |
| 13 | |
| 14 | ${xpath_hardware_status_heading} //h1[text()="Hardware status"] |
| 15 | |
| 16 | *** Test Cases *** |
| 17 | |
| 18 | Verify 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 Dathatri | 36ec5a6 | 2020-11-11 01:12:10 -0600 | [diff] [blame] | 25 | Verify 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 M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 37 | *** Keywords *** |
| 38 | |
| 39 | Test 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 |