Tweak desktop_login test for GNOME after wrong password entry

It doesn't seem to return to the top level automatically any more,
though the message goes away after a short time, still.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-05-03 15:54:41 -07:00
parent b1e28d4e77
commit 93628ed230

View File

@ -257,6 +257,7 @@ sub run {
assert_screen "login_wrong_password"; assert_screen "login_wrong_password";
send_key 'esc'; send_key 'esc';
} }
send_key 'esc' unless (check_screen "login_jim");
# Now, log into the system again using the correct password. This will # Now, log into the system again using the correct password. This will
# only work if we were correctly denied login with the wrong password, # only work if we were correctly denied login with the wrong password,