blob: d57e339b241d0e614db46664da809fde4eb3f44a [file] [log] [blame]
Sivas SRRc2446252017-04-12 11:46:15 -05001*** Settings ***
2
3Documentation Test OBMC GUI Power Operations
4
5Resource ../lib/obmcgui_utils.robot
6
7Suite Setup OpenBMC GUI Login
8Suite Teardown Close Browser
9
10*** Test Cases ***
11
12Power On the CEC
13 [Documentation] Power on the CEC.
14 [Tags] Power_On_the_CEC
15
16 GUI Power On
17
18Warm 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
26Immediate 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
34Cold 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
42Orderly 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
50OpenBMC 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