Rahul Maheshwari | 1e18bb6 | 2020-07-07 00:45:50 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test OpenBMC GUI "Manage power usage" sub-menu of "Server control". |
| 4 | |
| 5 | Resource ../../lib/resource.robot |
| 6 | |
| 7 | Suite Setup Launch Browser And Login GUI |
| 8 | Suite Teardown Close Browser |
| 9 | Test Setup Test Setup Execution |
| 10 | |
| 11 | |
| 12 | *** Variables *** |
| 13 | |
| 14 | |
| 15 | *** Test Cases *** |
| 16 | |
| 17 | Verify 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 | |
| 28 | Test 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 |