From f3c8b570d173ce18af1d6d5f9f121d92c65d6538 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 23 Jan 2023 15:32:07 -0800 Subject: [PATCH] More fixes to anaconda additional repository flow Signed-off-by: Adam Williamson --- tests/install_source_graphical.pm | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tests/install_source_graphical.pm b/tests/install_source_graphical.pm index 356d5a56..b4c87b59 100644 --- a/tests/install_source_graphical.pm +++ b/tests/install_source_graphical.pm @@ -61,19 +61,11 @@ sub add_repo { # configure an additional repository assert_and_click "anaconda_add_dropdown"; assert_and_click "anaconda_add"; - # shift-tab seven times gets us to the scheme box - for (my $i = 0; $i < 7; $i++) { + # shift-tab four times gets us to the URL box + for (my $i = 0; $i < 4; $i++) { send_key "shift-tab"; usleep 100; } - # select appropriate repo type for the URL by pressing 'down' a given - # number of times. default - 1 - is https - my $num = 1; - for (my $i = 0; $i < $num; $i++) { - send_key "down"; - usleep 100; - } - send_key "tab"; type_string $repourl; if ($metalink) { # select metalink in URL type dropdown