blob: 8907ddd83498cc12f70369c5e1b075889df9b2ec [file] [log] [blame]
Sushma M M9495a942020-08-10 01:23:33 -05001*** Settings ***
2
3Documentation Test OpenBMC GUI "Sensors" sub-menu.
4Resource ../../lib/resource.robot
5
6Suite Setup Launch Browser And Login GUI
7Suite Teardown Close Browser
8Test 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
17Verify 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
24Verify 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
37Test 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