Rahul Maheshwari | 1e18bb6 | 2020-07-07 00:45:50 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test OpenBMC GUI "Server power operations" 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 | |
manashsarma | 6164975 | 2020-08-19 07:01:19 -0500 | [diff] [blame^] | 14 | ${xpath_enable_onetime_boot_checkbox} //*[contains(@class,'custom-checkbox')] |
| 15 | ${xpath_boot_option_select} //*[@id='boot-option'] |
Rahul Maheshwari | 1e18bb6 | 2020-07-07 00:45:50 -0500 | [diff] [blame] | 16 | |
| 17 | *** Test Cases *** |
| 18 | |
manashsarma | 6164975 | 2020-08-19 07:01:19 -0500 | [diff] [blame^] | 19 | Verify Existence Of All Input Boxes In Host Os Boot Settings |
| 20 | [Documentation] Verify existence of all input boxes in host os boot settings. |
| 21 | [Tags] Verify_Existence_Of_Input_Boxes_In_Host_Os_Boot_Settings |
| 22 | |
| 23 | Page Should Contain Element ${xpath_enable_onetime_boot_checkbox} |
| 24 | Page Should Contain Element ${xpath_boot_option_select} |
| 25 | |
| 26 | |
| 27 | Verify Existence Of All Sections In Host Os Boot Settings |
| 28 | [Documentation] Verify existence of all sections in host os boot settings. |
| 29 | [Tags] Verify_Existence_Of_All_Sections_In_Host_Os_Boot_Settings |
| 30 | |
| 31 | Page Should Contain Boot settings override |
| 32 | Page Should Contain TPM required policy |
| 33 | |
| 34 | |
Rahul Maheshwari | 1e18bb6 | 2020-07-07 00:45:50 -0500 | [diff] [blame] | 35 | Verify Existence Of All Sections In Server Power Operations Page |
| 36 | [Documentation] Verify existence of all sections in Server Power Operations page. |
| 37 | [Tags] Verify_Existence_Of_All_Sections_In_Server_Power_Operations_Page |
| 38 | |
| 39 | Page Should Contain Current status |
| 40 | Page Should Contain Host OS boot settings |
| 41 | Page Should Contain Operations |
| 42 | |
| 43 | |
| 44 | *** Keywords *** |
| 45 | |
| 46 | Test Setup Execution |
| 47 | [Documentation] Do test case setup tasks. |
| 48 | |
| 49 | Click Element ${xpath_control_menu} |
| 50 | Click Element ${xpath_server_power_operations_sub_menu} |
| 51 | Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain server-power-operations |