mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
Tweak Clocks world clock test removal loop to be more robust
We need to move the mouse out of the way so we don't need two needles for "X not highlighted" and "X highlighted", and give the check_screen a few seconds to update for the cursor move. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
8b8108f051
commit
58fbcf31f2
@ -38,8 +38,9 @@ sub run {
|
||||
|
||||
# Click onto the Delete button to remove the listed cities.
|
||||
# While there are cities to be removed, remove them.
|
||||
while (check_screen("gnome_button_cross_remove")) {
|
||||
while (check_screen("gnome_button_cross_remove", 3)) {
|
||||
click_lastmatch();
|
||||
mouse_hide;
|
||||
}
|
||||
# If the cities are still visible, then die.
|
||||
if (check_screen("clocks_city_added_bratislava")) {
|
||||
|
Loading…
Reference in New Issue
Block a user