disk_custom_resize_lvm: add some waits

On ppc64le it looks like this test is often failing because it
takes a second or two to update the partition list after we
click update settings, but we're not waiting for that, so we
wind up clicking in the wrong place because we match the next
partition needle before the list is refreshed but click after
it's refreshed. Let's hope these waits solve it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-10-07 14:52:49 -07:00
parent 5e5dbac636
commit 200cab3899

View File

@ -39,6 +39,8 @@ sub run {
type_very_safely "/boot";
assert_and_click "anaconda_part_device_reformat";
assert_and_click "anaconda_part_update_settings";
# give it a second or two to update
wait_still_screen 2;
# For UEFI based images, we need to reassign the efi boot
# mountpoint as well
@ -48,6 +50,8 @@ sub run {
type_very_safely "/boot/efi";
assert_and_click "anaconda_part_device_reformat";
assert_and_click "anaconda_part_update_settings";
# give it a second or two to update
wait_still_screen 2;
}
# Now resize and format the current root partition
@ -61,6 +65,8 @@ sub run {
# Reformat and update the partition
assert_and_click "anaconda_part_device_reformat";
assert_and_click "anaconda_part_update_settings";
# give it a second or two to update
wait_still_screen 2;
# Add new /home partition into the emptied space.
assert_and_click "anaconda_part_add";