1*** Settings ***
2
3Documentation  Test OpenBMC GUI "Overview" menu.
4
5Resource        ../../lib/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_overview_page_header}  //h1[contains(text(), "Overview")]
15
16
17*** Test Cases ***
18
19Verify Existence Of All Sections In Overview Page
20    [Documentation]  Verify existence of all sections in Overview page.
21    [Tags]  Verify_Existence_Of_All_Sections_In_Overview_Page
22
23    Page Should Contain  BMC information
24    Page Should Contain  Server information
25    Page Should Contain  Network information
26    Page Should Contain  Power consumption
27    Page Should Contain  High priority events
28
29
30*** Keywords ***
31
32Test Setup Execution
33    [Documentation]  Do test case setup tasks.
34
35    Click Element  ${xpath_overview_menu}
36    Wait Until Page Contains Element  ${xpath_overview_page_header}
37
38