mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 13:33:08 +00:00
disk_guided_encrypted: only switch layout when appropriate
this stuff is only appropriate when a switched keyboard layout is in play. Left unconditional like this, it breaks the normal encrypted install test case.
This commit is contained in:
parent
efb0a916f6
commit
ede7713a6c
@ -14,12 +14,16 @@ sub run {
|
||||
|
||||
# type password for disk encryption
|
||||
wait_idle 5;
|
||||
$self->switch_layout("us");
|
||||
if (get_var("SWITCHED_LAYOUT")) {
|
||||
$self->switch_layout("us");
|
||||
}
|
||||
type_string get_var("ENCRYPT_PASSWORD");
|
||||
send_key "tab";
|
||||
type_string get_var("ENCRYPT_PASSWORD");
|
||||
# work around RHBZ #1333984
|
||||
$self->switch_layout("native");
|
||||
if (get_var("SWITCHED_LAYOUT")) {
|
||||
# work around RHBZ #1333984
|
||||
$self->switch_layout("native");
|
||||
}
|
||||
|
||||
assert_and_click "anaconda_install_destination_save_passphrase";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user