Rahul Maheshwari | 275ab30 | 2021-06-01 07:15:48 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test OpenBMC GUI "Client sessions" sub-menu of "Access Control" menu. |
| 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_client_sessions_heading} //h1[text()="Client sessions"] |
| 15 | |
| 16 | |
| 17 | *** Test Cases *** |
| 18 | |
| 19 | Verify Navigation To Client Sessions Page |
| 20 | [Documentation] Verify navigation to client sessions page. |
| 21 | [Tags] Verify_Navigation_To_Client_Sessions_Page |
| 22 | |
| 23 | Page Should Contain Element ${xpath_client_sessions_heading} |
| 24 | |
| 25 | |
| 26 | *** Keywords *** |
| 27 | |
| 28 | Test Setup Execution |
| 29 | [Documentation] Do test case setup tasks. |
| 30 | |
| 31 | Click Element ${xpath_access_control_menu} |
| 32 | Click Element ${xpath_client_sessions_sub_menu} |
| 33 | Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain client-sessions |