mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 02:13:08 +00:00
Drop the addrepo_metalink_graphical test
Anaconda has dropped the ability to interactively configure additional repositories, so this test cannot work any more. It's now possible only with inst.addrepo or a kickstart. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
d42ada609b
commit
aeac70814b
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 19,
|
||||
"type": "match",
|
||||
"ypos": 386,
|
||||
"width": 81,
|
||||
"xpos": 26
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"anaconda_add_dropdown"
|
||||
]
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 66 KiB |
@ -1350,17 +1350,6 @@
|
||||
"RETRY": 2
|
||||
}
|
||||
},
|
||||
"install_addrepo_metalink_graphical": {
|
||||
"profiles": {
|
||||
"fedora-Server-dvd-iso-aarch64-*-aarch64": 50,
|
||||
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 50,
|
||||
"fedora-Server-dvd-iso-x86_64-*-64bit": 50
|
||||
},
|
||||
"settings": {
|
||||
"ADD_REPOSITORY_GRAPHICAL": "ml:https://fedorapeople.org/groups/qa/openqa-repos/openqa-testrepo-2.xml",
|
||||
"POSTINSTALL": "_addrepo_metalink_post"
|
||||
}
|
||||
},
|
||||
"install_anaconda_text": {
|
||||
"profiles": {
|
||||
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
||||
|
@ -1,16 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
sub run {
|
||||
# check the test package from the side repo was installed
|
||||
assert_script_run "rpm -q testpackage";
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {fatal => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -12,8 +12,6 @@ sub run {
|
||||
$repourl = get_mirrorlist_url();
|
||||
}
|
||||
else {
|
||||
# we kinda intentionally don't check ADD_REPOSITORY_GRAPHICAL
|
||||
# here, as we cover that case with a postinstall check
|
||||
$repourl = get_var("REPOSITORY_VARIATION", get_var("REPOSITORY_GRAPHICAL"));
|
||||
$repourl = get_full_repo($repourl) if ($repourl);
|
||||
$addrepourl = get_var("ADD_REPOSITORY_VARIATION");
|
||||
|
@ -51,30 +51,6 @@ sub main_repo {
|
||||
}
|
||||
}
|
||||
|
||||
sub add_repo {
|
||||
my $repourl = get_var("ADD_REPOSITORY_GRAPHICAL");
|
||||
my $metalink;
|
||||
if ($repourl =~ m/^ml:/) {
|
||||
$metalink = 1;
|
||||
$repourl =~ s/^ml://;
|
||||
}
|
||||
# configure an additional repository
|
||||
assert_and_click "anaconda_add_dropdown";
|
||||
assert_and_click "anaconda_add";
|
||||
# shift-tab four times gets us to the URL box
|
||||
for (my $i = 0; $i < 4; $i++) {
|
||||
send_key "shift-tab";
|
||||
usleep 100;
|
||||
}
|
||||
type_string $repourl;
|
||||
if ($metalink) {
|
||||
# select metalink in URL type dropdown
|
||||
send_key "tab";
|
||||
send_key "down";
|
||||
send_key "down";
|
||||
}
|
||||
}
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
# Anaconda hub
|
||||
@ -84,7 +60,6 @@ sub run {
|
||||
assert_and_click "anaconda_main_hub_installation_source";
|
||||
|
||||
main_repo() if (get_var("REPOSITORY_GRAPHICAL") || get_var("MIRRORLIST_GRAPHICAL"));
|
||||
add_repo() if (get_var("ADD_REPOSITORY_GRAPHICAL"));
|
||||
|
||||
assert_and_click "anaconda_spoke_done";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user