1*** Settings *** 2 3Documentation Test OpenBMC GUI "Sensors" sub-menu of "Server health". 4 5Resource ../../lib/resource.robot 6 7Suite Setup Launch Browser And Login OpenBMC GUI 8Suite Teardown Close Browser 9Test Setup Test Setup Execution 10 11Test Tags OBMC_GUI_Sensors 12 13*** Variables *** 14${xpath_select_server_health} //*[@id="nav__top-level"]/li[2]/button 15${xpath_select_sensors} //a[@href='#/server-health/sensors-overview'] 16${xpath_sensors_export} //a[contains(text(), "Export")] 17${xpath_sensors_search} //*[@id="content__search-input"] 18${xpath_sensors_search_button} //*[@id="content__search-submit"] 19 20*** Test Cases *** 21Verify Select Sensors From Server Health 22 [Documentation] Verify ability to select "Sensors" sub-menu option of 23 ... "Server health". 24 [Tags] Verify_Select_Sensors_From_Server_Health 25 26 Wait Until Page Contains Sensors 27 Page should contain All sensors present in the system 28 29 30Verify Sensors Export From Server Health Clickable 31 [Documentation] Verify ability to export sensors from "Sensors" 32 ... sub-menu of "Server health". 33 [Tags] Verify_Sensors_Export_From_Server_Health_Clickable 34 35 Page Should Contain Element ${xpath_sensors_export} 36 Click Element ${xpath_sensors_export} 37 38 39Verify Search Text Enterable 40 [Documentation] Verify search text input allowed from "Sensors" 41 ... sub-menu of "Server health". 42 [Tags] Verify_Search_Text_Enterable 43 44 Page Should Contain Element ${xpath_sensors_search} 45 Input Text ${xpath_sensors_search} Temperature 46 Wait Until Page Does Not Contain Element ${xpath_refresh_circle} 47 Page Should Contain Element ${xpath_sensors_search_button} 48 Set Focus To Element ${xpath_sensors_search_button} 49 Click Element ${xpath_sensors_search_button} 50 51*** Keywords *** 52 53Test Setup Execution 54 [Documentation] Do test case setup tasks. 55 56 Click Element ${xpath_select_server_health} 57 Wait Until Page Does Not Contain Element ${xpath_refresh_circle} 58 Click Element ${xpath_select_sensors} 59 60