uitests: connect: Test double click to open

This commit is contained in:
Cole Robinson 2018-03-17 18:41:27 -04:00
parent edc79a3272
commit 591dda6d1e
1 changed files with 12 additions and 0 deletions

View File

@ -88,6 +88,18 @@ class VMMConnect(uiutils.UITestCase):
urientry.text = "test:///default"
connect.click()
# Try various connect/disconnect routines
uiutils.check_in_loop(lambda: win.showing is False)
c = self.app.root.find("test default", "table cell")
c.click(button=3)
self.app.root.find("conn-disconnect", "menu item").click()
uiutils.check_in_loop(lambda: "Not Connected" in c.text)
c.click(button=3)
self.app.root.find("conn-connect", "menu item").click()
c = self.app.root.find("test default", "table cell")
c.click(button=3)
self.app.root.find("conn-disconnect", "menu item").click()
uiutils.check_in_loop(lambda: "Not Connected" in c.text)
c.doubleClick()
c = self.app.root.find("test default", "table cell")
c.click()