diff options
author | Cole Robinson <crobinso@redhat.com> | 2020-09-15 13:50:58 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2020-09-15 13:50:58 -0400 |
commit | 54ae6f2723cdb9dac1dcc92a586bcdd2ec39719f (patch) | |
tree | 7f19beceed7b16080e103410bd4db8686355b0a9 | |
parent | 9fdbccec2b8aed2f5b54132a82ccb6560b5a18d6 (diff) | |
download | virt-manager-54ae6f2723cdb9dac1dcc92a586bcdd2ec39719f.tar.gz |
tests: uitests: Try to fix some clone flakiness
Signed-off-by: Cole Robinson <crobinso@redhat.com>
-rw-r--r-- | tests/uitests/test_clonevm.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/uitests/test_clonevm.py b/tests/uitests/test_clonevm.py index 9b28e96e..82f281e1 100644 --- a/tests/uitests/test_clonevm.py +++ b/tests/uitests/test_clonevm.py @@ -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() |