Change g-i-s 'nexts' count for F28+
Several screens are now skipped in g-i-s pre-login mode, we have to adjust the number we expect. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
ed9945de71
commit
f1913e8305
@ -428,8 +428,16 @@ sub gnome_initial_setup {
|
|||||||
);
|
);
|
||||||
my $nexts = 3;
|
my $nexts = 3;
|
||||||
if ($args{prelogin}) {
|
if ($args{prelogin}) {
|
||||||
|
my $version = lc(get_var("VERSION"));
|
||||||
|
if ($version eq 'rawhide' || $version > 27) {
|
||||||
|
# several screens are suppressed in pre-login g-i-s:
|
||||||
|
# https://fedoraproject.org/wiki/Changes/ReduceInitialSetupRedundancy
|
||||||
|
$nexts = 2;
|
||||||
|
}
|
||||||
|
else {
|
||||||
$nexts = 5;
|
$nexts = 5;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
assert_screen "next_button", $args{timeout};
|
assert_screen "next_button", $args{timeout};
|
||||||
# wait a bit in case of animation
|
# wait a bit in case of animation
|
||||||
wait_still_screen 3;
|
wait_still_screen 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user