mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 21:18:04 +03:00
uitests: Fix walkUI flakyness
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
bb86721352
commit
a05ab5cdb4
@ -29,6 +29,7 @@ def walkUIList(app, win, lst, error_cb, reverse=False):
|
||||
all_cells = lst.findChildren(lambda w: w.roleName == "table cell")
|
||||
if reverse:
|
||||
all_cells.reverse()
|
||||
all_cells[0].point()
|
||||
all_cells[0].click()
|
||||
cells_per_selection = len([c for c in all_cells if c.focused])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user