1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 15:23:08 +00:00

Handle new live g-i-s flow in desktop_notifications

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-08-23 09:42:54 -07:00
parent 35ae0b358f
commit 602636ef24

View File

@ -13,6 +13,7 @@ use packagetest;
sub run { sub run {
my $self = shift; my $self = shift;
my $desktop = get_var("DESKTOP"); my $desktop = get_var("DESKTOP");
my $relnum = get_var("RELNUM");
# for the live image case, handle bootloader here # for the live image case, handle bootloader here
if (get_var("BOOTFROM")) { if (get_var("BOOTFROM")) {
do_bootloader(postinstall => 1, params => '3'); do_bootloader(postinstall => 1, params => '3');
@ -90,6 +91,10 @@ sub run {
type_very_safely get_var("USER_PASSWORD", "weakpassword"); type_very_safely get_var("USER_PASSWORD", "weakpassword");
send_key 'ret'; send_key 'ret';
} }
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);
}
check_desktop(timeout => 90); check_desktop(timeout => 90);
# now, WE WAIT. this is just an unconditional wait - rather than # now, WE WAIT. this is just an unconditional wait - rather than
# breaking if we see an update notification appear - so we catch # breaking if we see an update notification appear - so we catch