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