blob: 3486061778937cb8d25d80d444440246d1d22518 [file] [log] [blame]
Sushma M M52ea7682020-07-23 02:52:17 -05001*** Settings ***
2
3Documentation Test OpenBMC GUI "Serial over LAN Console" sub-menu of "Control".
4
Rahul Maheshwari41747da2020-11-17 09:09:52 -06005Resource ../../lib/gui_resource.robot
Sushma M M52ea7682020-07-23 02:52:17 -05006
7Suite Setup Launch Browser And Login GUI
8Suite Teardown Close Browser
9Test Setup Test Setup Execution
10
11
12*** Variables ***
Rahul Maheshwari317c7102020-08-30 21:10:22 -050013
Sushma M M52ea7682020-07-23 02:52:17 -050014${xpath_open_in_new_tab_button} //button[contains(text(),'Open in new tab')]
15
Rahul Maheshwari317c7102020-08-30 21:10:22 -050016
Sushma M M52ea7682020-07-23 02:52:17 -050017*** Test Cases ***
18
Rahul Maheshwari317c7102020-08-30 21:10:22 -050019Verify 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 M52ea7682020-07-23 02:52:17 -050026Verify 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 Maheshwari4445eb52020-10-21 00:55:27 -050030 Page Should Contain SOL console redirects server's serial port output to this window
Sushma M M52ea7682020-07-23 02:52:17 -050031
32
33Verify 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
42Test 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