25 lines
812 B
Diff
25 lines
812 B
Diff
Subject: tests: ui: make newvm test start less flakey
|
|
From: Cole Robinson crobinso@redhat.com Tue Jan 23 08:59:34 2024 -0500
|
|
Date: Tue Jan 23 09:07:29 2024 -0500:
|
|
Git: acf3cedbbf85de9dd50c483547e2ea258c529583
|
|
|
|
Signed-off-by: Cole Robinson <crobinso@redhat.com>
|
|
|
|
diff --git a/tests/uitests/test_createvm.py b/tests/uitests/test_createvm.py
|
|
index f430c14c..6fe894b4 100644
|
|
--- a/tests/uitests/test_createvm.py
|
|
+++ b/tests/uitests/test_createvm.py
|
|
@@ -12,7 +12,11 @@ from . import lib
|
|
###################
|
|
|
|
def _open_newvm(app):
|
|
- app.root.find("New", "push button").click()
|
|
+ button = app.root.find("New", "push button")
|
|
+ # Launching the dialog can be very flakey without this explicit
|
|
+ # point() call, not sure why
|
|
+ button.point()
|
|
+ button.click()
|
|
return app.find_window("New VM")
|
|
|
|
|