Sushma M M | 9495a94 | 2020-08-10 01:23:33 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test OpenBMC GUI "Sensors" sub-menu. |
| 4 | Resource ../../lib/resource.robot |
| 5 | |
| 6 | Suite Setup Launch Browser And Login GUI |
| 7 | Suite Teardown Close Browser |
| 8 | Test Setup Test Setup Execution |
| 9 | |
| 10 | |
| 11 | *** Variables *** |
| 12 | ${xpath_sensors_filter} //button[contains(text(),'Filter')] |
| 13 | ${xpath_sensors_search} //input[contains(@class,"search-input")] |
| 14 | |
| 15 | *** Test Cases *** |
| 16 | |
| 17 | Verify Existence Of All Sections In Sensor Page |
| 18 | [Documentation] Verify existence of all sections in sensor page. |
| 19 | [Tags] Verify_Existence_Of_All_Sections_In_Event_Logs_Page |
| 20 | |
| 21 | Page Should Contain Sensors |
| 22 | |
| 23 | |
| 24 | Verify Existence Of All Buttons And Input Boxes In Sensor Page |
| 25 | [Documentation] Verify existence of all buttons and input boxes in sensor page. |
| 26 | [Tags] Verify_Existence_Of_All_Buttons_And_Input_Boxes_In_Sensor_Page |
| 27 | |
| 28 | Page Should Contain Element ${xpath_sensors_filter} |
| 29 | Click Element ${xpath_sensors_filter} |
| 30 | |
| 31 | #Search field |
| 32 | Page Should Contain Element ${xpath_sensors_search} |
| 33 | |
| 34 | |
| 35 | *** Keywords *** |
| 36 | |
| 37 | Test Setup Execution |
| 38 | [Documentation] Do test case setup tasks. |
| 39 | |
| 40 | Click Element ${xpath_health_menu} |
| 41 | Click Element ${xpath_sensor_sub_menu} |
| 42 | Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain sensors |