mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 13:33:08 +00:00
keyring tests: use check_desktop
These lines were sort of doing the same thing, only much less safely. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
21222f6a03
commit
f96f591e46
@ -130,8 +130,7 @@ sub perform_login {
|
|||||||
my $password = shift;
|
my $password = shift;
|
||||||
send_key("ret") if ($desktop eq "gnome");
|
send_key("ret") if ($desktop eq "gnome");
|
||||||
type_very_safely("$password\n");
|
type_very_safely("$password\n");
|
||||||
wait_still_screen(3);
|
check_desktop;
|
||||||
send_key("esc");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
|
@ -80,8 +80,7 @@ sub perform_login {
|
|||||||
my $password = shift;
|
my $password = shift;
|
||||||
send_key("ret") if ($desktop eq "gnome");
|
send_key("ret") if ($desktop eq "gnome");
|
||||||
type_very_safely("$password\n");
|
type_very_safely("$password\n");
|
||||||
wait_still_screen(3);
|
check_desktop;
|
||||||
send_key("esc");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
|
Loading…
Reference in New Issue
Block a user