1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-18 08:33:08 +00:00

blivet: more workarounds for issues with anaconda wayland port

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-11-06 11:42:12 -08:00
parent 8a54cff407
commit ce00bc94f1

View File

@ -190,9 +190,20 @@ sub custom_blivet_format_partition {
my %args = @_;
# Start editing the partition and select the Format option
assert_and_click "anaconda_blivet_part_edit";
# workaround another case where first click doesn't always work
# on Wayland
unless (check_screen "anaconda_blivet_part_format", 10) {
assert_and_click "anaconda_blivet_part_edit";
}
assert_and_click "anaconda_blivet_part_format";
# Select the appropriate filesystem type.
assert_and_click "anaconda_blivet_part_drop_select";
unless (check_screen "anaconda_blivet_part_fs_$args{type}", 5) {
record_soft_failure "https://bugzilla.redhat.com/show_bug.cgi?id=2324231";
for (1 .. 15) {
send_key "up";
}
}
assert_and_click "anaconda_blivet_part_fs_$args{type}";
wait_still_screen 2;
# Fill in the label if needed.