blob: a3f9fa861c19bedc63ba034eb77c04a778b11759 [file] [log] [blame]
Rahul Maheshwari1e18bb62020-07-07 00:45:50 -05001*** Settings ***
2
3Documentation Test OpenBMC GUI "Manage power usage" sub-menu of "Server control".
4
5Resource ../../lib/resource.robot
6
7Suite Setup Launch Browser And Login GUI
8Suite Teardown Close Browser
9Test Setup Test Setup Execution
10
11
12*** Variables ***
13
14
15*** Test Cases ***
16
17Verify Existence Of All Sections In Manage Power Usage Page
18 [Documentation] Verify existence of all sections in Manage Power Usage page.
19 [Tags] Verify_Existence_Of_All_Sections_In_Manage_Power_Usage_Page
20
21 Page Should Contain Current power consumption
22 Page Should Contain Power cap setting
23 Page Should Contain Power cap value
24
25
26*** Keywords ***
27
28Test Setup Execution
29 [Documentation] Do test case setup tasks.
30
31 Click Element ${xpath_control_menu}
32 Click Element ${xpath_manage_power_usage_sub_menu}
33 Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain manage-power-usage