Rahul Maheshwari | f3fa674 | 2020-05-18 06:24:04 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test OpenBMC GUI header. |
| 4 | |
| 5 | Resource ../../lib/resource.robot |
| 6 | |
| 7 | Suite Setup Launch Browser And Login GUI |
| 8 | Suite Teardown Close Browser |
| 9 | |
| 10 | |
| 11 | *** Variables *** |
| 12 | |
| 13 | ${xpath_header_text} //*[contains(@class, "navbar-text")] |
| 14 | |
| 15 | |
| 16 | *** Test Cases *** |
| 17 | |
| 18 | Verify GUI Header Text |
| 19 | [Documentation] Verify text in GUI header. |
| 20 | [Tags] Verify_GUI_Header_Text |
| 21 | |
| 22 | ${gui_header_text}= Get Text ${xpath_header_text} |
| 23 | Should Contain ${gui_header_text} BMC System Management |
| 24 | |
| 25 | |
| 26 | Verify GUI Logout |
| 27 | [Documentation] Verify OpenBMC GUI logout. |
| 28 | [Tags] Verify_GUI_Logout |
| 29 | |
| 30 | Click Element ${xpath_logout_button} |
| 31 | Wait Until Page Contains Element ${xpath_login_button} timeout=15s |