blob: d93c82e858b399e492a33872a22a2f7b35ef254c [file] [log] [blame]
*** Settings ***
Documentation Test OpenBMC GUI "Serial over LAN Console" sub-menu of "Control".
Resource ../../lib/resource.robot
Suite Setup Launch Browser And Login GUI
Suite Teardown Close Browser
Test Setup Test Setup Execution
*** Variables ***
${xpath_sol_console_heading} //h1[text()="Serial over LAN (SOL) console"]
${xpath_open_in_new_tab_button} //button[contains(text(),'Open in new tab')]
*** Test Cases ***
Verify Navigation To SOL Console Page
[Documentation] Verify navigation to SOL console page.
[Tags] Verify_Navigation_To_SOL_Console_Page
Page Should Contain Element ${xpath_sol_console_heading}
Verify Existence Of All Sections In SOL Console Page
[Documentation] Verify existence of all sections in SOL console page.
[Tags] Verify_Existence_Of_All_Sections_In_SOL_Console_Page
Page Should Contain SOL console redirects server's serial port output to this window
Verify Existence Of All Buttons In SOL Console Page
[Documentation] Verify existence of all buttons in SOL console page.
[Tags] Verify_Existence_Of_All_Buttons_In_SOL_Console_Page
Page Should Contain Element ${xpath_open_in_new_tab_button}
*** Keywords ***
Test Setup Execution
[Documentation] Do test case setup tasks.
Click Element ${xpath_control_menu}
Click Element ${xpath_sol_sub_menu}
Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain serial-over-lan