blob: 4704c55deb2406bce494e6bc41f2fd8303d5eba8 [file] [log] [blame]
rramyasr-in70178952022-06-17 06:17:30 -05001*** Settings ***
2
3Documentation Test OpenBMC GUI "Host console" sub-menu of "Operations".
4
5Resource ../../lib/gui_resource.robot
6
7Suite Setup Launch Browser And Login GUI
8Suite Teardown Close Browser
9Test Setup Test Setup Execution
10
Matt Fischer6fb70d92023-10-24 19:06:33 -060011Test Tags Host_Console_Sub_Menu
rramyasr-in70178952022-06-17 06:17:30 -050012
13*** Variables ***
14
15${xpath_open_in_new_tab_button} //button[contains(text(),'Open in new tab')]
16
17
18*** Test Cases ***
19
20Verify Navigation To Host Console Page
21 [Documentation] Verify navigation to Host console page.
22 [Tags] Verify_Navigation_To_Host_Console_Page
23
24 Page Should Contain Element ${xpath_host_console_heading}
25
26
27Verify Existence Of All Buttons In Host Console Page
28 [Documentation] Verify existence of all buttons in Host console page.
29 [Tags] Verify_Existence_Of_All_Buttons_In_Host_Console_Page
30
31 Page Should Contain Element ${xpath_open_in_new_tab_button}
32
33
34*** Keywords ***
35
36Test Setup Execution
37 [Documentation] Do test case setup tasks.
38
39 Click Element ${xpath_operations_menu}
40 Click Element ${xpath_host_console_sub_menu}
41 Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain host-console
rramyasr-in814c05f2023-01-17 10:07:46 -060042 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30