blob: 5a6367ac8644626e7373ecaf67c6235bb463c5c4 [file] [log] [blame]
Sushma M M0cfe0fd2020-08-31 03:18:54 -05001*** Settings ***
2
3Documentation Test OpenBMC GUI "Hardware Status" sub-menu of "Health" 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_hardware_status_heading} //h1[text()="Hardware status"]
15
16*** Test Cases ***
17
18Verify Navigation To Hardware Status Page
19 [Documentation] Verify navigation to hardware status page.
20 [Tags] Verify_Navigation_To_Hardware_Status_Page
21
22 Page Should Contain Element ${xpath_hardware_status_heading}
23
24
25*** Keywords ***
26
27Test Setup Execution
28 [Documentation] Do test case setup tasks.
29
30 Click Element ${xpath_health_menu}
31 Click Element ${xpath_hardware_status_sub_menu}
32 Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain hardware-status