Needles for _graphical_wait_login
allowing English language Gnome environments to Getting Started
#49
@ -39,13 +39,17 @@ sub run {
|
|||||||
send_key "tab";
|
send_key "tab";
|
||||||
wait_still_screen 1;
|
wait_still_screen 1;
|
||||||
|
|
||||||
# select desired environment
|
# In Rocky, graphical-server starts out selected in the DVD ISO so if that's
|
||||||
# go through the list 20 times at max (to prevent infinite loop when it's missing)
|
# what we're looking for we're done
|
||||||
for (my $i = 0; !check_screen("anaconda_".$packageset."_highlighted", 1) && $i < 20; $i++) {
|
if (!check_screen("anaconda_".$packageset."_selected", 1)) {
|
||||||
send_key "down";
|
# select desired environment
|
||||||
}
|
# go through the list 20 times at max (to prevent infinite loop when it's missing)
|
||||||
|
for (my $i = 0; !check_screen("anaconda_".$packageset."_highlighted", 1) && $i < 20; $i++) {
|
||||||
|
send_key "down";
|
||||||
|
}
|
||||||
|
|
||||||
send_key "spc";
|
send_key "spc";
|
||||||
|
}
|
||||||
|
|
||||||
# check that desired environment is selected
|
# check that desired environment is selected
|
||||||
assert_screen "anaconda_".$packageset."_selected";
|
assert_screen "anaconda_".$packageset."_selected";
|
||||||
|
Loading…
Reference in New Issue
Block a user