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 *** |
Rahul Maheshwari | 317c710 | 2020-08-30 21:10:22 -0500 | [diff] [blame] | 13 | |
| 14 | ${xpath_sol_console_heading} //h1[text()="Serial over LAN console"] |
Sushma M M | 52ea768 | 2020-07-23 02:52:17 -0500 | [diff] [blame] | 15 | ${xpath_open_in_new_tab_button} //button[contains(text(),'Open in new tab')] |
| 16 | |
Rahul Maheshwari | 317c710 | 2020-08-30 21:10:22 -0500 | [diff] [blame] | 17 | |
Sushma M M | 52ea768 | 2020-07-23 02:52:17 -0500 | [diff] [blame] | 18 | *** Test Cases *** |
| 19 | |
Rahul Maheshwari | 317c710 | 2020-08-30 21:10:22 -0500 | [diff] [blame] | 20 | Verify Navigation To SOL Console Page |
| 21 | [Documentation] Verify navigation to SOL console page. |
| 22 | [Tags] Verify_Navigation_To_SOL_Console_Page |
| 23 | |
| 24 | Page Should Contain Element ${xpath_sol_console_heading} |
| 25 | |
| 26 | |
Sushma M M | 52ea768 | 2020-07-23 02:52:17 -0500 | [diff] [blame] | 27 | Verify Existence Of All Sections In SOL Console Page |
| 28 | [Documentation] Verify existence of all sections in SOL console page. |
| 29 | [Tags] Verify_Existence_Of_All_Sections_In_SOL_Console_Page |
| 30 | |
| 31 | Page Should Contain Access the Serial over LAN console |
| 32 | |
| 33 | |
| 34 | Verify Existence Of All Buttons In SOL Console Page |
| 35 | [Documentation] Verify existence of all buttons in SOL console page. |
| 36 | [Tags] Verify_Existence_Of_All_Buttons_In_SOL_Console_Page |
| 37 | |
| 38 | Page Should Contain Element ${xpath_open_in_new_tab_button} |
| 39 | |
| 40 | |
| 41 | *** Keywords *** |
| 42 | |
| 43 | Test Setup Execution |
| 44 | [Documentation] Do test case setup tasks. |
| 45 | |
| 46 | Click Element ${xpath_control_menu} |
| 47 | Click Element ${xpath_sol_sub_menu} |
| 48 | Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain serial-over-lan |