1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-21 18:03:11 +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:
Adam Williamson 2024-09-15 11:43:43 -07:00
parent 21222f6a03
commit f96f591e46
2 changed files with 2 additions and 4 deletions

View File

@ -130,8 +130,7 @@ sub perform_login {
my $password = shift;
send_key("ret") if ($desktop eq "gnome");
type_very_safely("$password\n");
wait_still_screen(3);
send_key("esc");
check_desktop;
}
sub run {

View File

@ -80,8 +80,7 @@ sub perform_login {
my $password = shift;
send_key("ret") if ($desktop eq "gnome");
type_very_safely("$password\n");
wait_still_screen(3);
send_key("esc");
check_desktop;
}
sub run {