mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-02-16 12:34:32 +00:00
disks: also authenticate when unmounting
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
89fa04661f
commit
3cd5963b10
@ -196,7 +196,10 @@ sub mount_partition {
|
|||||||
# FIXME: handle partition being mounted at /run/udisk2/temp-mount-XXXXX:
|
# FIXME: handle partition being mounted at /run/udisk2/temp-mount-XXXXX:
|
||||||
# https://github.com/storaged-project/udisks/issues/1102
|
# https://github.com/storaged-project/udisks/issues/1102
|
||||||
# drop this when that bug is fixed
|
# 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.
|
# Click on the Play symbout to mount the partition.
|
||||||
assert_and_click("disks_button_mount");
|
assert_and_click("disks_button_mount");
|
||||||
# Authenticate if necessary.
|
# Authenticate if necessary.
|
||||||
|
Loading…
Reference in New Issue
Block a user