mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 13:11:26 +00:00
Add a wait to custom_change_fs
Otherwise we can immediately match 'fs is already selected' for the *previously selected* fs before the UI updates and exit without actually changing the fs of the intended partition. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
9d9a0352fb
commit
1c692ef6d6
@ -251,6 +251,7 @@ sub custom_change_fs {
|
|||||||
my ($fs, $part) = @_;
|
my ($fs, $part) = @_;
|
||||||
$part ||= "root";
|
$part ||= "root";
|
||||||
assert_and_click "anaconda_part_select_$part";
|
assert_and_click "anaconda_part_select_$part";
|
||||||
|
wait_still_screen 5;
|
||||||
# if fs is already set correctly, do nothing
|
# if fs is already set correctly, do nothing
|
||||||
return if (check_screen "anaconda_part_fs_${fs}_selected", 5);
|
return if (check_screen "anaconda_part_fs_${fs}_selected", 5);
|
||||||
assert_and_click "anaconda_part_fs";
|
assert_and_click "anaconda_part_fs";
|
||||||
|
Loading…
Reference in New Issue
Block a user