File 069-uitests-Fix-walkUI-flakyness.patch of Package virt-manager

Subject: uitests: Fix walkUI flakyness
From: Cole Robinson crobinso@redhat.com Sat Mar 2 14:26:28 2024 -0500
Date: Sun Mar 3 10:43:30 2024 -0500:
Git: a05ab5cdb42b0b4aff8c9997e7370590b0e0fc7b

Signed-off-by: Cole Robinson <crobinso@redhat.com>

diff --git a/tests/uitests/lib/utils.py b/tests/uitests/lib/utils.py
index cf207082..80ed3773 100644
--- a/tests/uitests/lib/utils.py
+++ b/tests/uitests/lib/utils.py
@@ -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])
 
openSUSE Build Service is sponsored by