blob: 36fe2898a82d5f7a9fc63cde3514b0da8480aa85 [file] [log] [blame]
Rahul Maheshwari275ab302021-06-01 07:15:48 -05001*** Settings ***
2
Rahul Maheshwari142642d2021-08-24 00:00:15 -05003Documentation Test OpenBMC GUI "Sessions" sub-menu of "Security and access" menu.
Rahul Maheshwari275ab302021-06-01 07:15:48 -05004
5Resource ../../lib/gui_resource.robot
6
7Suite Setup Launch Browser And Login GUI
8Suite Teardown Close Browser
9Test Setup Test Setup Execution
10
11
12*** Variables ***
13
Rahul Maheshwari142642d2021-08-24 00:00:15 -050014${xpath_sessions_heading} //h1[text()="Sessions"]
Rahul Maheshwari275ab302021-06-01 07:15:48 -050015
16
17*** Test Cases ***
18
Rahul Maheshwari142642d2021-08-24 00:00:15 -050019Verify Navigation To Sessions Page
20 [Documentation] Verify navigation to sessions page.
21 [Tags] Verify_Navigation_To_Sessions_Page
Rahul Maheshwari275ab302021-06-01 07:15:48 -050022
Rahul Maheshwari142642d2021-08-24 00:00:15 -050023 Page Should Contain Element ${xpath_sessions_heading}
Rahul Maheshwari275ab302021-06-01 07:15:48 -050024
25
26*** Keywords ***
27
28Test Setup Execution
29 [Documentation] Do test case setup tasks.
30
Rahul Maheshwari142642d2021-08-24 00:00:15 -050031 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