From 4ccdaf0236c8d79473631690e5a6f3b1f26f129e Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 27 May 2024 12:17:40 -0700 Subject: [PATCH] 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 --- tests/desktop_update_graphical.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/desktop_update_graphical.pm b/tests/desktop_update_graphical.pm index af25fd80..36249f6f 100644 --- a/tests/desktop_update_graphical.pm +++ b/tests/desktop_update_graphical.pm @@ -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