blob: a33c1045d445d79834c998d097917305a27fc6aa [file] [log] [blame]
Sushma M M52ea7682020-07-23 02:52:17 -05001*** Settings ***
2
Rahul Maheshwari142642d2021-08-24 00:00:15 -05003Documentation Test OpenBMC GUI "Serial over LAN Console" sub-menu of "Operations".
Sushma M M52ea7682020-07-23 02:52:17 -05004
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
Rahul Maheshwari142642d2021-08-24 00:00:15 -050045 Click Element ${xpath_operations_menu}
Sushma M M52ea7682020-07-23 02:52:17 -050046 Click Element ${xpath_sol_sub_menu}
47 Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain serial-over-lan