diff --git a/tests/desktop_update_graphical.pm b/tests/desktop_update_graphical.pm index 2791091e..e436b68a 100644 --- a/tests/desktop_update_graphical.pm +++ b/tests/desktop_update_graphical.pm @@ -67,6 +67,9 @@ sub run { # logged in (but don't fail if it doesn't as we're not testing # that) if (check_screen 'gnome_reboot_confirm', 15) { + # on F27+, default is Cancel, earlier, default is Restart + my $version = lc(get_var("VERSION")); + send_key 'tab' if ($version eq 'rawhide' || $version > 26); send_key 'ret'; } boot_to_login_screen;