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