Update install_source_graphical for a change in anaconda

Behaviour of a drop-down box changed, we need to tweak this test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-06-04 18:55:28 -07:00
parent fd440bfd3a
commit 4ae50d0e0e

View File

@ -45,10 +45,13 @@ sub run {
type_safely $repourl; type_safely $repourl;
# select as mirror list # select as mirror list
my $relnum = get_release_number;
send_key "tab"; send_key "tab";
send_key "tab"; send_key "tab";
send_key "down"; send_key "down";
send_key "down"; # since anaconda-33.17-1.fc33 we only have to press down *one*
# time to select 'mirrorlist'
send_key "down" if ($relnum < 33);
} }
elsif (get_var("REPOSITORY_GRAPHICAL")) { elsif (get_var("REPOSITORY_GRAPHICAL")) {
$repourl = get_full_repo(get_var("REPOSITORY_GRAPHICAL")); $repourl = get_full_repo(get_var("REPOSITORY_GRAPHICAL"));