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