From 93628ed230ef8c2ac1171b640bf8b8d38cfb8dbf Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 3 May 2021 15:54:41 -0700 Subject: [PATCH] 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 --- tests/desktop_login.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/desktop_login.pm b/tests/desktop_login.pm index 0da6e246..b436e19d 100644 --- a/tests/desktop_login.pm +++ b/tests/desktop_login.pm @@ -257,6 +257,7 @@ sub run { assert_screen "login_wrong_password"; send_key 'esc'; } + send_key 'esc' unless (check_screen "login_jim"); # Now, log into the system again using the correct password. This will # only work if we were correctly denied login with the wrong password,