blob: 6c38eb679820b5389c61c920c5a1fd51fd4f8c73 [file] [log] [blame]
*** Settings ***
Documentation Test OpenBMC GUI "Reboot BMC" sub-menu of "Server control".
Resource ../../lib/resource.robot
Suite Setup Launch Browser And Login GUI
Suite Teardown Close Browser
Test Setup Test Setup Execution
*** Variables ***
${xpath_reboot_bmc_button} //button[contains(text(),'Reboot BMC')]
*** Test Cases ***
Verify Existence Of All Buttons In Reboot BMC Page
[Documentation] Verify existence of all buttons in reboot BMC page.
[Tags] Verify_Existence_Of_All_Buttons_In_Reboot_BMC_Page
Page Should Contain Element ${xpath_reboot_bmc_button}
*** Keywords ***
Test Setup Execution
[Documentation] Do test case setup tasks.
Click Element ${xpath_control_menu}
Click Element ${xpath_reboot_bmc_sub_menu}
Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain reboot-bmc