blob: ede2ff8b7d34e57fb0c2a2dbff782961d58be613 [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 Maheshwari24872aa2020-12-15 23:58:30 -060030 Page Should Contain SOL console redirects the 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