1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-29 13:15:44 +00:00

custom_blivet_format_partition: protect against missed click

I think since the wayland port, sometimes clicks on
anaconda_blivet_part_drop_select are missed and don't open the
menu. So, if that happens, click it again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-04-02 15:40:51 -07:00
parent f538b50511
commit 3a7ef807de

View File

@ -197,7 +197,9 @@ sub custom_blivet_format_partition {
}
assert_and_click "anaconda_blivet_part_format";
# Select the appropriate filesystem type.
assert_and_click "anaconda_blivet_part_drop_select";
wait_screen_change { assert_and_click "anaconda_blivet_part_drop_select"; };
# sometimes that click doesn't work and we have to do it again
click_lastmatch if (check_screen "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) {