blob: 5d7d3aba9d34800598779e9c72b440efc856b888 [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
13 [Documentation] Power on the Host.
14 [Tags] Power_On_the_Host
15
16 GUI Power On
17
18Immediate 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
26Cold 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
36Warm 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
45Orderly 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
54OpenBMC 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