Sushma M M | 0cfe0fd | 2020-08-31 03:18:54 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test OpenBMC GUI "Hardware Status" sub-menu of "Health" menu. |
| 4 | |
| 5 | Resource ../../lib/resource.robot |
| 6 | |
| 7 | Suite Setup Launch Browser And Login GUI |
| 8 | Suite Teardown Close Browser |
| 9 | Test Setup Test Setup Execution |
| 10 | |
| 11 | |
| 12 | *** Variables *** |
| 13 | |
| 14 | ${xpath_hardware_status_heading} //h1[text()="Hardware status"] |
| 15 | |
| 16 | *** Test Cases *** |
| 17 | |
| 18 | Verify 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 | |
| 27 | Test 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 |