Skip to content

Commit

Permalink
test: Add pixel test to IP settings dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
skobyda authored and martinpitt committed Oct 4, 2023
1 parent 7d20c81 commit 2a38e15
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions test/verify/check-networkmanager-settings
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@ class TestNetworkingSettings(netlib.NetworkCase):

assert_connection_setting(con_id, "ipv6.method", "disabled")

# Open the dialog, expand all the fields and assert pixels
self.configure_iface_setting("IPv4")
b.click("#network-ip-settings-address-add")
b.click("#network-ip-settings-route-add")
b.click("#network-ip-settings-dns-add")
b.click("#network-ip-settings-dns-search-add")
b.assert_pixels("#network-ip-settings-dialog", "network-ip-settings-dialog")

def testOtherSettings(self):
b = self.browser
m = self.machine
Expand Down

0 comments on commit 2a38e15

Please sign in to comment.