1*** Settings ***
2
3Documentation   Test OpenBMC GUI "Sessions" sub-menu of "Security and access" menu.
4
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
14${xpath_sessions_heading}  //h1[contains(text(),'sessions')]
15
16
17*** Test Cases ***
18
19Verify Navigation To Sessions Page
20    [Documentation]  Verify navigation to sessions page.
21    [Tags]  Verify_Navigation_To_Sessions_Page
22
23    Page Should Contain Element  ${xpath_sessions_heading}
24
25
26*** Keywords ***
27
28Test Setup Execution
29    [Documentation]  Do test case setup tasks.
30
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
34    Wait Until Element Is Not Visible   ${xpath_page_loading_progress_bar}  timeout=30
35