Added a wait until hostname input box is available
Testcase fixed:
- Verify Hostname Text Configuration
Change-Id: Ice539776c9eccb8b72c53b82b3edc54abbc66dea
Signed-off-by: Anves Kumar rayankula <anvesr77@in.ibm.com>
diff --git a/gui/gui_test/server_config/test_obmc_gui_network_settings.robot b/gui/gui_test/server_config/test_obmc_gui_network_settings.robot
index 32dc85e..cbb87c7 100644
--- a/gui/gui_test/server_config/test_obmc_gui_network_settings.robot
+++ b/gui/gui_test/server_config/test_obmc_gui_network_settings.robot
@@ -67,11 +67,10 @@
... sub-menu.
[Tags] Verify_Hostname_Text_Configuration
+ Wait Until Element Is Enabled ${xpath_hostname_input}
Input Text ${xpath_hostname_input} witherspoon1
Click Button ${xpath_network_save_settings}
Wait Until Page Contains Element ${xpath_setting_success} timeout=10
- Element Should Be Disabled ${xpath_network_save_settings}
- Click Element ${xpath_select_refresh_button}
Wait Until Keyword Succeeds 15 sec 5 sec Textfield Should Contain ${xpath_hostname_input}
... witherspoon1
@@ -164,7 +163,6 @@
Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain network-settings
-
Configure Invalid Network Address And Verify
[Documentation] Configure invalid network address And verify.
[Arguments] ${locator} ${invalid_address}