blob: edb8b9939e199435d7c858360857676861609244 [file] [log] [blame]
Sivas SRR40c1f042018-01-05 11:00:02 -06001*** Settings ***
2
3Documentation Test Open BMC GUI Power Operations under GUI Header.
4
5Resource ../../lib/resource.robot
6
7Suite Setup Login OpenBMC GUI ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD}
8Suite Teardown Close Browser
9
10*** Test Cases ***
11
12Power On The Host
Sivas SRRf4248852018-01-14 10:33:24 -060013 [Documentation] Power on the host.
Sivas SRR40c1f042018-01-05 11:00:02 -060014 [Tags] Power_On_the_Host
15
16 GUI Power On
17
Sivas SRRf4248852018-01-14 10:33:24 -060018Click 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
28Click 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 SRR40c1f042018-01-05 11:00:02 -060032
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 SRRf4248852018-01-14 10:33:24 -060036 Page Should Contain Off
Sivas SRR40c1f042018-01-05 11:00:02 -060037
Sivas SRRf4248852018-01-14 10:33:24 -060038Click 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 SRR40c1f042018-01-05 11:00:02 -060041
42 GUI Power On
43 Controller Server Power Click Button power__cold-boot
44 Controller Power Operations Confirmation Click Button ${power_operations}
Sivas SRRf4248852018-01-14 10:33:24 -060045 ... ${cold_boot} ${confirm_msg} ${no}
Sivas SRR40c1f042018-01-05 11:00:02 -060046 Page Should Contain Running
47
Sivas SRRf4248852018-01-14 10:33:24 -060048Click 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
58Click 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
67Click 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 SRR40c1f042018-01-05 11:00:02 -060070
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 SRRf4248852018-01-14 10:33:24 -060076Click 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
86Click 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 SRR40c1f042018-01-05 11:00:02 -060090
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
96OpenBMC GUI Logoff
Sivas SRRf4248852018-01-14 10:33:24 -060097 [Documentation] Log out from openBMC GUI.
Sivas SRR40c1f042018-01-05 11:00:02 -060098 [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