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 |
Sivas SRR | f424885 | 2018-01-14 10:33:24 -0600 | [diff] [blame] | 13 | [Documentation] Power on the host. |
Sivas SRR | 40c1f04 | 2018-01-05 11:00:02 -0600 | [diff] [blame] | 14 | [Tags] Power_On_the_Host |
| 15 | |
| 16 | GUI Power On |
| 17 | |
Sivas SRR | f424885 | 2018-01-14 10:33:24 -0600 | [diff] [blame] | 18 | Click Immediate Power Off The Host And Press No |
| 19 | [Documentation] Click Immediate power off the host button and press no |
| 20 | ... button. |
| 21 | [Tags] Click_Immediate_Power_Off_The_Host_And_Press_No |
| 22 | |
| 23 | Controller Server Power Click Button power__hard-shutdown |
| 24 | Controller Power Operations Confirmation Click Button ${power_operations} |
| 25 | ... ${power_off} ${confirm_msg} ${no} |
| 26 | Page Should Contain Running |
| 27 | |
| 28 | Click Immediate Power Off The Host And Press Yes |
| 29 | [Documentation] Click Immediate power off the host button and press |
| 30 | ... yes button. |
| 31 | [Tags] Click_Immediate_Power_Off_The_Host_And_Press_Yes |
Sivas SRR | 40c1f04 | 2018-01-05 11:00:02 -0600 | [diff] [blame] | 32 | |
| 33 | Controller Server Power Click Button power__hard-shutdown |
| 34 | Controller Power Operations Confirmation Click Button ${power_operations} |
| 35 | ... ${power_off} ${confirm_msg} ${yes} |
Sivas SRR | f424885 | 2018-01-14 10:33:24 -0600 | [diff] [blame] | 36 | Page Should Contain Off |
Sivas SRR | 40c1f04 | 2018-01-05 11:00:02 -0600 | [diff] [blame] | 37 | |
Sivas SRR | f424885 | 2018-01-14 10:33:24 -0600 | [diff] [blame] | 38 | Click Cold Boot The Host And Press No |
| 39 | [Documentation] Click cold boot the host button and press no button. |
| 40 | [Tags] Click_Cold_Boot_The_Host_And_Press_No |
Sivas SRR | 40c1f04 | 2018-01-05 11:00:02 -0600 | [diff] [blame] | 41 | |
| 42 | GUI Power On |
| 43 | Controller Server Power Click Button power__cold-boot |
| 44 | Controller Power Operations Confirmation Click Button ${power_operations} |
Sivas SRR | f424885 | 2018-01-14 10:33:24 -0600 | [diff] [blame] | 45 | ... ${cold_boot} ${confirm_msg} ${no} |
Sivas SRR | 40c1f04 | 2018-01-05 11:00:02 -0600 | [diff] [blame] | 46 | Page Should Contain Running |
| 47 | |
Sivas SRR | f424885 | 2018-01-14 10:33:24 -0600 | [diff] [blame] | 48 | Click Cold Boot The Host And Press Yes |
| 49 | [Documentation] Click Cold boot the host button and press yes button. |
| 50 | [Tags] Click_Cold_Boot_the_Host_And_Press_Yes |
| 51 | |
| 52 | Controller Server Power Click Button power__cold-boot |
| 53 | Controller Power Operations Confirmation Click Button ${power_operations} |
| 54 | ... ${cold_boot} ${confirm_msg} ${yes} |
| 55 | Page Should Contain Standby |
| 56 | Page Should Contain Running |
| 57 | |
| 58 | Click Warm Boot The Host And Press No |
| 59 | [Documentation] Click warm boot the host button and press no button. |
| 60 | [Tags] Click_Warm_Boot_The_Host_And_Press_No |
| 61 | |
| 62 | Controller Server Power Click Button power__warm-boot |
| 63 | Controller Power Operations Confirmation Click Button ${power_operations} |
| 64 | ... ${warm_boot} ${confirm_msg} ${no} |
| 65 | Page Should Contain Running |
| 66 | |
| 67 | Click Warm Boot The Host And Press Yes |
| 68 | [Documentation] Click warm boot the host button and press yes button. |
| 69 | [Tags] Click_Warm_Boot_The_Host_And_Press_Yes |
Sivas SRR | 40c1f04 | 2018-01-05 11:00:02 -0600 | [diff] [blame] | 70 | |
| 71 | Controller Server Power Click Button power__warm-boot |
| 72 | Controller Power Operations Confirmation Click Button ${power_operations} |
| 73 | ... ${warm_boot} ${confirm_msg} ${yes} |
| 74 | Page Should Contain Running |
| 75 | |
Sivas SRR | f424885 | 2018-01-14 10:33:24 -0600 | [diff] [blame] | 76 | Click Orderly Shutdown The Host And Press No |
| 77 | [Documentation] Press orderly shutdown the host button and press no |
| 78 | ... button. |
| 79 | [Tags] Click_Orderly_Shutdown_The_Host_And_Press_No |
| 80 | |
| 81 | Controller Server Power Click Button power__soft-shutdown |
| 82 | Controller Power Operations Confirmation Click Button ${power_operations} |
| 83 | ... ${shut_down} ${confirm_msg} ${no} |
| 84 | Page Should Contain Running |
| 85 | |
| 86 | Click Orderly Shutdown The Host And Press Yes |
| 87 | [Documentation] Press orderly shutdown the host button and press yes |
| 88 | ... button. |
| 89 | [Tags] Click_Orderly_Shutdown_The_Host_And_Press_Yes |
Sivas SRR | 40c1f04 | 2018-01-05 11:00:02 -0600 | [diff] [blame] | 90 | |
| 91 | Controller Server Power Click Button power__soft-shutdown |
| 92 | Controller Power Operations Confirmation Click Button ${power_operations} |
| 93 | ... ${shut_down} ${confirm_msg} ${yes} |
| 94 | Page Should Contain Off |
| 95 | |
| 96 | OpenBMC GUI Logoff |
Sivas SRR | f424885 | 2018-01-14 10:33:24 -0600 | [diff] [blame] | 97 | [Documentation] Log out from openBMC GUI. |
Sivas SRR | 40c1f04 | 2018-01-05 11:00:02 -0600 | [diff] [blame] | 98 | [Tags] OpenBMC_GUI_Logoff |
| 99 | |
| 100 | Log ${xpath_openbmc_url} |
| 101 | Log To Console ${xpath_openbmc_url} |
| 102 | Click Element header |
| 103 | |
| 104 | |
| 105 | |
| 106 | |