blob: 6c38eb679820b5389c61c920c5a1fd51fd4f8c73 [file] [log] [blame]
Rahul Maheshwari1e18bb62020-07-07 00:45:50 -05001*** Settings ***
2
3Documentation Test OpenBMC GUI "Reboot BMC" sub-menu of "Server control".
4
5Resource ../../lib/resource.robot
6
7Suite Setup Launch Browser And Login GUI
8Suite Teardown Close Browser
9Test Setup Test Setup Execution
10
11
12*** Variables ***
13
14${xpath_reboot_bmc_button} //button[contains(text(),'Reboot BMC')]
15
16*** Test Cases ***
17
18Verify Existence Of All Buttons In Reboot BMC Page
19 [Documentation] Verify existence of all buttons in reboot BMC page.
20 [Tags] Verify_Existence_Of_All_Buttons_In_Reboot_BMC_Page
21
22 Page Should Contain Element ${xpath_reboot_bmc_button}
23
24
25*** Keywords ***
26
27Test Setup Execution
28 [Documentation] Do test case setup tasks.
29
30 Click Element ${xpath_control_menu}
31 Click Element ${xpath_reboot_bmc_sub_menu}
32 Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain reboot-bmc