Change the way the mountpoint textfield is reached.

The review for `btrfs_preserve_home` test case has revealed,
that the way how to reach the mountpoint textfield in the Anaconda
partitioning differs between various tests. This PR makes it the
easiest way possible, as is defined by `custom_with_swap` test
case mentioned in the review.
This commit is contained in:
Lukáš Růžička 2020-12-03 12:17:31 +01:00
parent a038423920
commit 86c2bf6650

View File

@ -5,12 +5,7 @@ use anaconda;
use utils;
sub goto_mountpoint {
my $counter = 20;
while (!check_screen "anaconda_part_mountpoint_selected" and $counter > 0) {
send_key "tab";
$counter += 1;
sleep 1;
}
send_key_until_needlematch("anaconda_part_mountpoint_selected", "tab", 20);
}
sub run {