Sivas SRR | 40c1f04 | 2018-01-05 11:00:02 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test Open BMC GUI Power Operations under GUI Header. |
| 4 | |
| 5 | Resource ../../lib/resource.robot |
| 6 | |
| 7 | Suite Setup Login OpenBMC GUI ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD} |
| 8 | Suite Teardown Close Browser |
| 9 | |
| 10 | *** Test Cases *** |
| 11 | |
| 12 | Power On The Host |
| 13 | [Documentation] Power on the Host. |
| 14 | [Tags] Power_On_the_Host |
| 15 | |
| 16 | GUI Power On |
| 17 | |
| 18 | Immediate Power Off The Host |
| 19 | [Documentation] Immediate power off the Host. |
| 20 | [Tags] Immediate_Power_Off_The_Host |
| 21 | |
| 22 | Controller Server Power Click Button power__hard-shutdown |
| 23 | Controller Power Operations Confirmation Click Button ${power_operations} |
| 24 | ... ${power_off} ${confirm_msg} ${yes} |
| 25 | |
| 26 | Cold Boot The Host |
| 27 | [Documentation] Cold boot the Host. |
| 28 | [Tags] Cold_Boot_the_Host |
| 29 | |
| 30 | GUI Power On |
| 31 | Controller Server Power Click Button power__cold-boot |
| 32 | Controller Power Operations Confirmation Click Button ${power_operations} |
| 33 | ... ${cold_boot} ${confirm_msg} ${yes} |
| 34 | Page Should Contain Running |
| 35 | |
| 36 | Warm Boot The Host |
| 37 | [Documentation] Warm boot the Host. |
| 38 | [Tags] Warm_Boot_The_Host |
| 39 | |
| 40 | Controller Server Power Click Button power__warm-boot |
| 41 | Controller Power Operations Confirmation Click Button ${power_operations} |
| 42 | ... ${warm_boot} ${confirm_msg} ${yes} |
| 43 | Page Should Contain Running |
| 44 | |
| 45 | Orderly Shutdown The Host |
| 46 | [Documentation] Orderly shutdown the Host. |
| 47 | [Tags] Orderly_Shutdown_The_Host |
| 48 | |
| 49 | Controller Server Power Click Button power__soft-shutdown |
| 50 | Controller Power Operations Confirmation Click Button ${power_operations} |
| 51 | ... ${shut_down} ${confirm_msg} ${yes} |
| 52 | Page Should Contain Off |
| 53 | |
| 54 | OpenBMC GUI Logoff |
| 55 | [Documentation] Log out from OpenBMC GUI. |
| 56 | [Tags] OpenBMC_GUI_Logoff |
| 57 | |
| 58 | Log ${xpath_openbmc_url} |
| 59 | Log To Console ${xpath_openbmc_url} |
| 60 | Click Element header |
| 61 | |
| 62 | |
| 63 | |
| 64 | |