mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
More fixes to anaconda additional repository flow
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
f03743a01d
commit
f3c8b570d1
@ -61,19 +61,11 @@ sub add_repo {
|
|||||||
# configure an additional repository
|
# configure an additional repository
|
||||||
assert_and_click "anaconda_add_dropdown";
|
assert_and_click "anaconda_add_dropdown";
|
||||||
assert_and_click "anaconda_add";
|
assert_and_click "anaconda_add";
|
||||||
# shift-tab seven times gets us to the scheme box
|
# shift-tab four times gets us to the URL box
|
||||||
for (my $i = 0; $i < 7; $i++) {
|
for (my $i = 0; $i < 4; $i++) {
|
||||||
send_key "shift-tab";
|
send_key "shift-tab";
|
||||||
usleep 100;
|
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;
|
type_string $repourl;
|
||||||
if ($metalink) {
|
if ($metalink) {
|
||||||
# select metalink in URL type dropdown
|
# select metalink in URL type dropdown
|
||||||
|
Loading…
Reference in New Issue
Block a user