blob: 6a2d12453202397a07a4301b6eb1f28b6f56e1e4 [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
5Resource ../../lib/resource.robot
6
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
14${xpath_sol_console_heading} //h1[text()="Serial over LAN console"]
Sushma M M52ea7682020-07-23 02:52:17 -050015${xpath_open_in_new_tab_button} //button[contains(text(),'Open in new tab')]
16
Rahul Maheshwari317c7102020-08-30 21:10:22 -050017
Sushma M M52ea7682020-07-23 02:52:17 -050018*** Test Cases ***
19
Rahul Maheshwari317c7102020-08-30 21:10:22 -050020Verify 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 M52ea7682020-07-23 02:52:17 -050027Verify 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
34Verify 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
43Test 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