Added new tests for network settings tab in GUI.
Added following test cases:
- Verify default gateway editable.
- Verify MAC address editable.
Resolves openbmc/openbmc-test-automation#1401
Change-Id: If80471f58d6676a48925a43a19a79ab69706e6c8
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/gui/obmc_gui/test/server_config/test_obmc_gui_network_settings.robot b/gui/obmc_gui/test/server_config/test_obmc_gui_network_settings.robot
index afc5771..4b05c99 100644
--- a/gui/obmc_gui/test/server_config/test_obmc_gui_network_settings.robot
+++ b/gui/obmc_gui/test/server_config/test_obmc_gui_network_settings.robot
@@ -17,6 +17,9 @@
${xpath_network_save_settings} //*[@id="configuration-network"]/form/section[3]/div[2]/button[1]
${xpath_continue} //*[@id=""]/main/section/div/div[4]/button[2]
${xpath_network_config_ipv4_address} //*[@id="net-config__ipv4-address"]
+${xpath_default_gateway_input} //*[@id="net-config__domain"]
+${xpath_mac_address_input} //*[@id="net-config__host"]
+
*** Test Cases ***
@@ -42,6 +45,24 @@
Page Should Contain witherspoon1
+Verify Default Gateway Editable
+ [Documentation] Verify default gateway text input allowed from "network
+ ... settings".
+ [Tags] Verify_Default_Gateway_Editable
+
+ Page Should Contain Element ${xpath_default_gateway_input}
+ Input Text ${xpath_default_gateway_input} 10.6.6.7
+
+
+Verify MAC Address Editable
+ [Documentation] Verify MAC address text input allowed from "network
+ ... settings".
+ [Tags] Verify_MAC_Address_Editable
+
+ Page Should Contain Element ${xpath_mac_address_input}
+ Input Text ${xpath_mac_address_input} 70:e2:84:14:16:6c
+
+
*** Keywords ***
Test Setup Execution