Automation fix for SNMP tescases
Changes :
- Modified SNMP Testcase
- Modified "Reboot Via GUI" keyword
Tested:
- Ran successfully gui_test/settings_menu/test_snmp_alerts_sub_menu.robot
- Ran successfully lib/gui_resource.robot
Change-Id: I7b5e3bd18eb56d1b6ef85d45db519b7e27cdeffe
Signed-off-by: Megha G N <Megha.G.N@ibm.com>
diff --git a/gui/lib/gui_resource.robot b/gui/lib/gui_resource.robot
index 308762a..08ac09e 100644
--- a/gui/lib/gui_resource.robot
+++ b/gui/lib/gui_resource.robot
@@ -150,6 +150,6 @@
Click Element ${xpath_operations_menu}
Click Element ${xpath_reboot_bmc_sub_menu}
Click Button ${xpath_reboot_bmc_button}
- Click Button ${xpath_confirm_bmc_reboot}
+ Wait Until Keyword Succeeds 30 sec 10 sec Click Button ${xpath_confirm_bmc_reboot}
Wait Until Keyword Succeeds 2 min 10 sec Is BMC Unpingable
Wait For Host To Ping ${OPENBMC_HOST} 1 min