tests: uitests: Try to fix some clone flakiness

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2020-09-15 13:50:58 -04:00
parent 9fdbccec2b
commit 54ae6f2723
1 changed files with 6 additions and 1 deletions

View File

@ -38,7 +38,12 @@ class CloneVM(lib.testcase.UITestCase):
def _open_window(self, vmname):
# Launch wizard via right click menu
c = self.app.root.find_fuzzy(vmname, "table cell")
manager = self.app.topwin
manager.click_title()
lib.utils.check(lambda: manager.active)
c = manager.find_fuzzy(vmname, "table cell")
self.app.sleep(.3)
c.click()
c.click(button=3)
item = self.app.root.find("Clone...", "menu item")
item.point()