tests: ui: make newvm test start less flakey

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2024-01-23 08:59:34 -05:00
parent c399353e00
commit acf3cedbbf

View File

@ -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")