mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 13:11:26 +00:00
Try and fix blivet test fails caused by too-early OK click
We seem to quite often get a failure in the blivet_lvmthin test here which seems to be caused by trying to click 'OK' while the 'Device type' menu is still changing state or something. Let's throw in a little delay. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
00f1241318
commit
3444d2f959
@ -165,6 +165,8 @@ sub custom_blivet_add_partition {
|
|||||||
assert_and_click "anaconda_blivet_mountpoint";
|
assert_and_click "anaconda_blivet_mountpoint";
|
||||||
type_safely $args{mountpoint} . "\n";
|
type_safely $args{mountpoint} . "\n";
|
||||||
}
|
}
|
||||||
|
# seems we can get a lost click here if we click too soon
|
||||||
|
wait_still_screen 3;
|
||||||
assert_and_click "anaconda_blivet_btn_ok";
|
assert_and_click "anaconda_blivet_btn_ok";
|
||||||
# select "free space" in blivet-gui if it exists, so we could run this function again to add another partition
|
# select "free space" in blivet-gui if it exists, so we could run this function again to add another partition
|
||||||
if (check_screen("anaconda_blivet_free_space", 5)) {
|
if (check_screen("anaconda_blivet_free_space", 5)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user