blob: 96963846ec9ff2bdfbe86f2b56a7f4bec8bcea8a [file] [log] [blame]
Rahul Maheshwarid29cf302020-07-07 03:13:17 -05001*** Settings ***
2
3Documentation Test OpenBMC GUI "Event logs" sub-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
Sushma M M15fa20d2020-08-31 02:25:52 -050012*** Variables ***
13${xpath_event_logs_heading} //h1[text()="Event logs"]
14
Rahul Maheshwarid29cf302020-07-07 03:13:17 -050015*** Test Cases ***
16
Sushma M M15fa20d2020-08-31 02:25:52 -050017Verify Navigation To Event Logs Page
18 [Documentation] Verify navigation to Event Logs page.
19 [Tags] Verify_Navigation_To_Event_Logs_Page
20
21 Page Should Contain Element ${xpath_event_logs_heading}
22
23
Rahul Maheshwarid29cf302020-07-07 03:13:17 -050024Verify Existence Of All Sections In Event Logs Page
25 [Documentation] Verify existence of all sections in Event Logs page.
26 [Tags] Verify_Existence_Of_All_Sections_In_Event_Logs_Page
27
28 Page Should Contain Event logs
29
30
31*** Keywords ***
32
33Test Setup Execution
34 [Documentation] Do test case setup tasks.
35
36 Click Element ${xpath_health_menu}
37 Click Element ${xpath_event_logs_sub_menu}
38 Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain event-logs