uitests: Fix walkUI flakyness

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2024-03-02 14:26:28 -05:00
parent bb86721352
commit a05ab5cdb4

View File

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