Added test case to verify reboot bmc cancel option
Changes:
-Added Verify_Canceling_Operation_On_BMC_Reboot_Operation test case
Change-Id: I68775dd6cde0430c5351e30fd9209fe9710c0f0d
Signed-off-by: Sushma M M <sushmm99@in.ibm.com>
diff --git a/gui/gui_test/control_menu/test_reboot_bmc_sub_menu.robot b/gui/gui_test/control_menu/test_reboot_bmc_sub_menu.robot
index 763ae29..58df953 100644
--- a/gui/gui_test/control_menu/test_reboot_bmc_sub_menu.robot
+++ b/gui/gui_test/control_menu/test_reboot_bmc_sub_menu.robot
@@ -13,6 +13,7 @@
${xpath_reboot_bmc_heading} //h1[text()="Reboot BMC"]
${xpath_reboot_bmc_button} //button[contains(text(),'Reboot BMC')]
+${xpath_reboot_cancel_button} //button[contains(text(),'Cancel')]
*** Test Cases ***
@@ -37,6 +38,15 @@
Page Should Contain Last BMC reboot
+Verify Canceling Operation On BMC Reboot Operation
+ [Documentation] Verify Canceling Operation On BMC Reboot operation
+ [Tags] Verify_Canceling_Operation_On_BMC_Reboot_Operation
+
+ Click Element ${xpath_reboot_bmc_button}
+ Click Element ${xpath_reboot_cancel_button}
+ Wait Until Element Is Not Visible ${xpath_reboot_cancel_button} timeout=15
+
+
*** Keywords ***
Test Setup Execution