From 4ae50d0e0e15c948dd23659539d7335cc89c9e2b Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 4 Jun 2020 18:55:28 -0700 Subject: [PATCH] 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 --- tests/install_source_graphical.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/install_source_graphical.pm b/tests/install_source_graphical.pm index 4217495a..004bf43c 100644 --- a/tests/install_source_graphical.pm +++ b/tests/install_source_graphical.pm @@ -45,10 +45,13 @@ sub run { type_safely $repourl; # select as mirror list + my $relnum = get_release_number; send_key "tab"; send_key "tab"; 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")) { $repourl = get_full_repo(get_var("REPOSITORY_GRAPHICAL"));