Skip to content

Commit dee4573

Browse files
Added GUI Network testcase
Changes: - Added "Verify MAC Address Is Displayed" - Using "Click Element" instead "Click Element At Coordinates" Tested: - Ran successfully test_network_sub_menu.robot Change-Id: Ib9e89c7c38b39c17347907a5e6d534b1fe695da7 Signed-off-by: Anvesh-Kumar_Rayankula <[email protected]>
1 parent 7ef2c44 commit dee4573

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

gui/gui_test/settings_menu/test_network_sub_menu.robot

+15-1
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,20 @@ Delete IPv4 Address Via GUI And Verify
217217
Delete IPv4 Address And Verify ${test_ipv4_addr}
218218

219219

220+
Verify MAC Address Is Displayed
221+
[Documentation] Verify MAC address is displayed.
222+
[Tags] Verify_MAC_Address_Is_Displayed
223+
[Setup] Redfish.Login
224+
[Teardown] Redfish.Logout
225+
226+
${active_channel_config}= Get Active Channel Config
227+
${ethernet_interface}= Set Variable ${active_channel_config['${CHANNEL_NUMBER}']['name']}
228+
${resp}= redfish.Get ${REDFISH_NW_ETH_IFACE}${ethernet_interface}
229+
230+
# Verify the MAC address on GUI.
231+
Page Should Contain ${resp.dict['MACAddress']}
232+
233+
220234
Configure Hostname Via GUI And Verify
221235
[Documentation] Login to GUI Network page, configure hostname and verify.
222236
[Tags] Configure_Hostname_Via_GUI_And_Verify
@@ -342,7 +356,7 @@ Toggle DHCPv4 Property And Verify
342356
${redfish_before_set}= Get DHCP Property Via Redfish ${property}
343357
${gui_before_set}= Get Text ${xpath_property}
344358

345-
Click Element At Coordinates ${xpath_property} 0 0
359+
Click Element ${xpath_property}
346360
Verify Popup Message And Close Popup ${xpath_success_popup}
347361
Wait Until Element Is Not Visible
348362
... ${xpath_page_loading_progress_bar} timeout=120s

0 commit comments

Comments
 (0)