diff --git a/lib/utils.pm b/lib/utils.pm index fa5764e9..8030229f 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -710,12 +710,17 @@ sub handle_welcome_screen { } sub gnome_initial_setup { - # Handle gnome-initial-setup, with variations for the pre-login - # mode (when no user was created during install) and post-login - # mode (when user was created during install) + # Handle gnome-initial-setup, with variations for live mode (the + # short run on live boot since F39), the pre-login mode (when no + # user was created during install) and post-login mode (when user + # was created during install). post-login mode currently (2023-08) + # unused, but may come back in future. 'livetry' indicates whether + # to launch the installer (0) or desktop (1) at the end of live + # flow my %args = ( prelogin => 0, live => 0, + livetry => 0, timeout => 120, @_ ); @@ -827,6 +832,7 @@ sub gnome_initial_setup { record_soft_failure "GOA screen not seen! Likely RHBZ #1997310"; } } + send_key "tab" if ($args{live} && $args{livetry}); # on the 'live' flow, this will launch the installer send_key "ret"; # we don't want to do anything further on the 'live' flow diff --git a/tests/desktop_notifications.pm b/tests/desktop_notifications.pm index dc4a9e2b..da0bab90 100644 --- a/tests/desktop_notifications.pm +++ b/tests/desktop_notifications.pm @@ -93,7 +93,7 @@ sub run { } elsif ($desktop eq 'gnome' && $relnum > 39) { # since g-i-s 45~beta-3 we get a short g-i-s flow on live boot - gnome_initial_setup(live => 1); + gnome_initial_setup(live => 1, livetry => 1); } check_desktop(timeout => 90); # now, WE WAIT. this is just an unconditional wait - rather than