diff --git a/lib/utils.pm b/lib/utils.pm index 5bf01c93..a2a3c288 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -1514,6 +1514,7 @@ sub wait_until_needlematch { } else { $iterator += 1; + sleep $interval; } } if ($iterator >= $count) { diff --git a/tests/upgrade_run.pm b/tests/upgrade_run.pm index 3b343eb9..4c5bc95a 100644 --- a/tests/upgrade_run.pm +++ b/tests/upgrade_run.pm @@ -24,9 +24,9 @@ sub run { # If it is run for the first time, hit the Browse button to # speed things up. - #if (check_screen("gnome_software_browse_button")) { + if (check_screen("gnome_software_browse_button")) { assert_and_click("gnome_software_browse_button"); - #} + } # Click on the updates button. There should be no updates available, # as updates were already handled by the upgrade_preinstall test,