1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-09-28 08:47:22 +00:00

disks: also authenticate when unmounting

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-05-18 15:45:57 -07:00
parent 89fa04661f
commit 3cd5963b10

View File

@ -196,7 +196,10 @@ sub mount_partition {
# FIXME: handle partition being mounted at /run/udisk2/temp-mount-XXXXX:
# https://github.com/storaged-project/udisks/issues/1102
# drop this when that bug is fixed
click_lastmatch if (check_screen("disks_temp_mounted", 5));
if (check_screen("disks_temp_mounted", 5)) {
click_lastmatch;
authenticate;
}
# Click on the Play symbout to mount the partition.
assert_and_click("disks_button_mount");
# Authenticate if necessary.