Sivas SRR | c244625 | 2017-04-12 11:46:15 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test OBMC GUI Power Operations |
| 4 | |
| 5 | Resource ../lib/obmcgui_utils.robot |
| 6 | |
| 7 | Suite Setup OpenBMC GUI Login |
| 8 | Suite Teardown Close Browser |
| 9 | |
| 10 | *** Test Cases *** |
| 11 | |
| 12 | Power On the CEC |
| 13 | [Documentation] Power on the CEC. |
| 14 | [Tags] Power_On_the_CEC |
| 15 | |
| 16 | GUI Power On |
| 17 | |
| 18 | Warm Boot the CEC |
| 19 | [Documentation] Warm boot the CEC. |
| 20 | [Tags] Warm_Boot_the_CEC |
| 21 | |
| 22 | Controller Server Power Click power__warm-boot |
| 23 | Controller Power Operations Confirmation Click ${power_operations} |
| 24 | ... ${warm_boot} ${confirm_msg} ${yes} |
| 25 | |
| 26 | Immediate Power Off the CEC |
| 27 | [Documentation] Immediate power off the CEC. |
| 28 | [Tags] Immediate_Power_Off_the_CEC |
| 29 | |
| 30 | Controller Server Power Click power__hard-shutdown |
| 31 | Controller Power Operations Confirmation Click ${power_operations} |
| 32 | ... ${power_off} ${confirm_msg} ${yes} |
| 33 | |
| 34 | Cold Boot the CEC |
| 35 | [Documentation] Cold boot the CEC. |
| 36 | [Tags] Cold_Boot_the_CEC |
| 37 | |
| 38 | Controller Server Power Click power__cold-boot |
| 39 | Controller Power Operations Confirmation Click ${power_operations} |
| 40 | ... ${cold_boot} ${confirm_msg} ${yes} |
| 41 | |
| 42 | Orderly Shutdown the CEC |
| 43 | [Documentation] Orderly shutdown the CEC. |
| 44 | [Tags] Orderly_Shutdown_the_CEC |
| 45 | |
| 46 | Controller Server Power Click power__soft-shutdown |
| 47 | Controller Power Operations Confirmation Click ${power_operations} |
| 48 | ... ${shut_down} ${confirm_msg} ${yes} |
| 49 | |
| 50 | OpenBMC GUI Logoff |
| 51 | [Documentation] Log out from OpenBMC GUI. |
| 52 | [Tags] OpenBMC_GUI_Logoff |
| 53 | |
| 54 | Log ${obmc_BMC_URL} |
| 55 | Log To Console ${obmc_BMC_URL} |
| 56 | Click Element header |
| 57 | |
| 58 | |
| 59 | |
| 60 | |