fix small bug with selecting custom partitioning

This commit is contained in:
Jan Sedlák 2015-08-06 16:15:48 +02:00
parent 4778d23f8c
commit 0b1d4d1f92
2 changed files with 2 additions and 5 deletions

View File

@ -90,10 +90,6 @@ sub select_disks {
} }
# For exactly 1 disk, we don't need to do anything. # For exactly 1 disk, we don't need to do anything.
} }
if (get_var('DISK_CUSTOM')) {
assert_and_click "anaconda_manual_partitioning";
}
} }
sub custom_scheme_select { sub custom_scheme_select {

View File

@ -5,8 +5,9 @@ use testapi;
sub run { sub run {
my $self = shift; my $self = shift;
# Go to INSTALLATION DESTINATION and ensure two disks are selected. # Go to INSTALLATION DESTINATION and ensure two disks are selected.
# Because DISK_CUSTOM is set, select_disks will select custom for us.
$self->select_disks(2); $self->select_disks(2);
# select custom partitioning
assert_and_click "anaconda_manual_partitioning";
assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_spoke_done";
# Manual partitioning spoke should be displayed # Manual partitioning spoke should be displayed