Revert "Workaround #1805553 (single disk not selected as install target)"

This reverts commit adf3f91818.
The bug has been fixed in anaconda, so we can drop this, which
is good as it has timing issues producing false positives on
Rawhide...
This commit is contained in:
Adam Williamson 2020-02-26 14:30:08 -08:00
parent 3d29d7b746
commit 884f71bb81
3 changed files with 4 additions and 30 deletions

View File

@ -40,26 +40,15 @@ sub select_disks {
} }
} }
else { else {
# Single disk cases. # Single disk case.
if ($args{disks} == 0) { if ($args{disks} == 0) {
# Clicking will *de*-select...unless we're running into # Clicking will *de*-select.
# FIXME #1805553, in which case we should do nothing assert_and_click "anaconda_install_destination_select_disk_1";
if (check_screen "anaconda_install_destination_disk_selected") {
assert_and_click "anaconda_install_destination_select_disk_1";
}
else {
record_soft_failure "Single disk not selected as install target - #1805553";
}
} }
elsif ($args{disks} > 1) { elsif ($args{disks} > 1) {
die "Only one disk is connected! Cannot select $args{disks} disks."; die "Only one disk is connected! Cannot select $args{disks} disks.";
} }
# For exactly 1 disk, we don't need to do anything, unless # For exactly 1 disk, we don't need to do anything.
# we run into FIXME #1805553...
unless (check_screen "anaconda_install_destination_disk_selected") {
record_soft_failure "Single disk not selected as install target - #1805553";
assert_and_click "anaconda_install_destination_select_disk_1";
}
} }
# Handle network disks. # Handle network disks.

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 89,
"ypos": 242,
"width": 25,
"height": 25,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_install_destination_disk_selected"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB