Skip to content

Commit d01fca7

Browse files
committed
test: ensure inactive device stays inactive after editing it
1 parent 47f7c87 commit d01fca7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/verify/check-networkmanager-basic

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ class TestNetworkingBasic(netlib.NetworkCase):
364364
b.set_input_text("#network-ip-settings-gateway", "10.0.5.1")
365365
b.click("#network-ip-settings-save")
366366
self.wait_for_iface_setting("IPv4", "Address 10.0.5.10/24Gateway 10.0.5.1")
367+
self.wait_for_iface_setting("Status", "Inactive")
368+
367369
# Configure IPv6 address
368370
self.configure_iface_setting("IPv6")
369371
b.wait_visible("#network-ip-settings-dialog")
@@ -374,6 +376,7 @@ class TestNetworkingBasic(netlib.NetworkCase):
374376
b.set_input_text("#network-ip-settings-gateway", "2001:db8::1")
375377
b.click("#network-ip-settings-save")
376378
self.wait_for_iface_setting("IPv6", "Address 2001:db8::10/64Gateway 2001:db8::1")
379+
self.wait_for_iface_setting("Status", "Inactive")
377380

378381
# Start the interface and verify new address is set
379382
b.click("#interface-switch")

0 commit comments

Comments
 (0)