modify _software_selection for pre-selected graphical-server case
This commit is contained in:
parent
9354aae276
commit
7bf5881cbe
@ -39,13 +39,17 @@ sub run {
|
||||
send_key "tab";
|
||||
wait_still_screen 1;
|
||||
|
||||
# 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";
|
||||
}
|
||||
# In Rocky, graphical-server starts out selected in the DVD ISO so if that's
|
||||
# what we're looking for we're done
|
||||
if (!check_screen("anaconda_".$packageset."_selected", 1)) {
|
||||
# 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
|
||||
assert_screen "anaconda_".$packageset."_selected";
|
||||
|
Loading…
Reference in New Issue
Block a user