1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-09-27 08:17:22 +00:00

Add some wait_still_screens to GNOME Software ignore handling

I think the lack here is sometimes causing us to click more
times than we should. Let's do this to try and make sure we
don't click once it worked.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-05-27 12:17:40 -07:00
parent 4e102743b7
commit 4ccdaf0236

View File

@ -51,11 +51,13 @@ sub run {
# especially with GNOME 46 - part of
# https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2442
click_lastmatch;
wait_still_screen 2;
my $count = 20;
while (check_screen 'gnome_software_ignore', 3) {
die "couldn't get rid of ignore screen!" if ($count == 0);
$count -= 1;
click_lastmatch;
wait_still_screen 2;
}
}
# go to the 'update' interface. We may be waiting some time at a