From 4dab8520b05a412d60ddd5baeb89b7eca663169e Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mar 18 2022 18:24:07 +0000 Subject: Bump the wait after hitting the Refresh button Agh, GNOME's UI is *not* helpful here at all. The Apply button remains visible for a long time after you hit Refresh. Signed-off-by: Adam Williamson --- diff --git a/tests/desktop_update_graphical.pm b/tests/desktop_update_graphical.pm index 408008b..5fd4375 100644 --- a/tests/desktop_update_graphical.pm +++ b/tests/desktop_update_graphical.pm @@ -59,8 +59,8 @@ sub run { wait_still_screen 5, 90; # we always want to refresh to make sure we get the prepared update assert_and_click 'desktop_package_tool_update_refresh', timeout=>120; - # wait a bit to make sure the UI clears to a 'refreshing' state - sleep 5; + # wait a while to make sure the UI clears to a 'refreshing' state + sleep 20; my $tags = ['desktop_package_tool_update_download', 'desktop_package_tool_update_apply']; # Apply updates, moving the mouse every two minutes to avoid the # idle screen blank kicking in. Depending on whether this is KDE