Sushma M M | 52ea768 | 2020-07-23 02:52:17 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test OpenBMC GUI "Serial over LAN Console" sub-menu of "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 | ${xpath_open_in_new_tab_button} //button[contains(text(),'Open in new tab')] |
| 14 | |
| 15 | *** Test Cases *** |
| 16 | |
| 17 | Verify Existence Of All Sections In SOL Console Page |
| 18 | [Documentation] Verify existence of all sections in SOL console page. |
| 19 | [Tags] Verify_Existence_Of_All_Sections_In_SOL_Console_Page |
| 20 | |
| 21 | Page Should Contain Access the Serial over LAN console |
| 22 | |
| 23 | |
| 24 | Verify Existence Of All Buttons In SOL Console Page |
| 25 | [Documentation] Verify existence of all buttons in SOL console page. |
| 26 | [Tags] Verify_Existence_Of_All_Buttons_In_SOL_Console_Page |
| 27 | |
| 28 | Page Should Contain Element ${xpath_open_in_new_tab_button} |
| 29 | |
| 30 | |
| 31 | *** Keywords *** |
| 32 | |
| 33 | Test Setup Execution |
| 34 | [Documentation] Do test case setup tasks. |
| 35 | |
| 36 | Click Element ${xpath_control_menu} |
| 37 | Click Element ${xpath_sol_sub_menu} |
| 38 | Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain serial-over-lan |