1*** Settings *** 2 3Documentation Test OpenBMC GUI header. 4 5Resource ../../lib/gui_resource.robot 6 7Suite Setup Launch Browser And Login GUI 8Suite Teardown Close Browser 9 10Force Tags GUI_Header 11 12*** Variables *** 13 14${xpath_header_text} //*[contains(@class, "navbar-text")] 15 16 17*** Test Cases *** 18 19Verify GUI Header Text 20 [Documentation] Verify text in GUI header. 21 [Tags] Verify_GUI_Header_Text 22 23 ${gui_header_text}= Get Text ${xpath_header_text} 24 Should Contain ${gui_header_text} BMC System Management 25 26 27Verify Server Health Button 28 [Documentation] Verify event log page on clicking health button. 29 [Tags] Verify_Server_Health_Button 30 31 Wait Until Element Is Visible ${xpath_server_health_header} 32 Click Element ${xpath_server_health_header} 33 Wait Until Page Contains Element ${xpath_event_logs_heading} timeout=15s 34 35 36Verify Server Power Button 37 [Documentation] Verify server power operations page on clicking power button. 38 [Tags] Verify_Server_Power_Button 39 40 Wait Until Element Is Visible ${xpath_server_power_header} 41 Click Element ${xpath_server_power_header} 42 Wait Until Page Contains Server power operations 43 44 45Verify GUI Logout 46 [Documentation] Verify OpenBMC GUI logout. 47 [Tags] Verify_GUI_Logout 48 49 Click Element ${xpath_root_button_menu} 50 Click Element ${xpath_logout_button} 51 Wait Until Page Contains Element ${xpath_login_button} timeout=15s 52 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30 53