1f3fa674aSRahul Maheshwari*** Settings *** 2f3fa674aSRahul Maheshwari 3f3fa674aSRahul MaheshwariDocumentation Test OpenBMC GUI header. 4f3fa674aSRahul Maheshwari 541747da7SRahul MaheshwariResource ../../lib/gui_resource.robot 6f3fa674aSRahul Maheshwari 7f3fa674aSRahul MaheshwariSuite Setup Launch Browser And Login GUI 8f3fa674aSRahul MaheshwariSuite Teardown Close Browser 9f3fa674aSRahul Maheshwari 10f3fa674aSRahul Maheshwari 11f3fa674aSRahul Maheshwari*** Variables *** 12f3fa674aSRahul Maheshwari 13f3fa674aSRahul Maheshwari${xpath_header_text} //*[contains(@class, "navbar-text")] 14f3fa674aSRahul Maheshwari 15f3fa674aSRahul Maheshwari 16f3fa674aSRahul Maheshwari*** Test Cases *** 17f3fa674aSRahul Maheshwari 18f3fa674aSRahul MaheshwariVerify GUI Header Text 19f3fa674aSRahul Maheshwari [Documentation] Verify text in GUI header. 20f3fa674aSRahul Maheshwari [Tags] Verify_GUI_Header_Text 21f3fa674aSRahul Maheshwari 22f3fa674aSRahul Maheshwari ${gui_header_text}= Get Text ${xpath_header_text} 23f3fa674aSRahul Maheshwari Should Contain ${gui_header_text} BMC System Management 24f3fa674aSRahul Maheshwari 25f3fa674aSRahul Maheshwari 267fe0b427SSushma M MVerify Server Health Button 277fe0b427SSushma M M [Documentation] Verify event log page on clicking health button. 287fe0b427SSushma M M [Tags] Verify_Server_Health_Button 297fe0b427SSushma M M 307fe0b427SSushma M M Wait Until Element Is Visible ${xpath_server_health_header} 317fe0b427SSushma M M Click Element ${xpath_server_health_header} 32732cc3ffSrramyasr-in Wait Until Page Contains Element ${xpath_event_logs_heading} timeout=15s 337fe0b427SSushma M M 347fe0b427SSushma M M 350ecc7353SSushma M MVerify Server Power Button 360ecc7353SSushma M M [Documentation] Verify server power operations page on clicking power button. 370ecc7353SSushma M M [Tags] Verify_Server_Power_Button 380ecc7353SSushma M M 390ecc7353SSushma M M Wait Until Element Is Visible ${xpath_server_power_header} 400ecc7353SSushma M M Click Element ${xpath_server_power_header} 410ecc7353SSushma M M Wait Until Page Contains Server power operations 420ecc7353SSushma M M 430ecc7353SSushma M M 44f3fa674aSRahul MaheshwariVerify GUI Logout 45f3fa674aSRahul Maheshwari [Documentation] Verify OpenBMC GUI logout. 46f3fa674aSRahul Maheshwari [Tags] Verify_GUI_Logout 47f3fa674aSRahul Maheshwari 48ff03a21bSSushma M M Click Element ${xpath_root_button_menu} 49f3fa674aSRahul Maheshwari Click Element ${xpath_logout_button} 50f3fa674aSRahul Maheshwari Wait Until Page Contains Element ${xpath_login_button} timeout=15s 51*9e2c96f2Srramyasr-in Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30 52