diff --git a/tests/upgrade_boot.pm b/tests/upgrade_boot.pm index 1d0b0835..f20d5071 100644 --- a/tests/upgrade_boot.pm +++ b/tests/upgrade_boot.pm @@ -17,6 +17,11 @@ sub run { boot_to_login_screen; + # If we want to test system upgrade via GUI, we need to make sure + # that Gnome Software allows to see prerelease upgrades, too. + # We want to deal with it here, in order to save one restart + # between the steps. + if (get_var("GUI_UPGRADE")) { # Log onto the graphical session my $login = get_var("USER_LOGIN") // "test";