mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
tests: ui: make newvm test start less flakey
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
c399353e00
commit
acf3cedbbf
@ -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")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user