From 7ecba92fb594e1c6c5ef2c5de6a33d952aebf2e7 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 1 Mar 2022 20:23:53 -0800 Subject: [PATCH] Drop similarity_level on some desktop_login wait_still_screens Again, there's a blinking cursor in play here. 47 is too high. Signed-off-by: Adam Williamson --- tests/desktop_login.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/desktop_login.pm b/tests/desktop_login.pm index 4ff17553..f37ac4ce 100644 --- a/tests/desktop_login.pm +++ b/tests/desktop_login.pm @@ -75,12 +75,12 @@ sub login_user { # but rather a "screensaver" screen for the DM. If this is the # case, hit Escape to bring back the user list. send_key "esc"; - wait_still_screen 5; + wait_still_screen(stilltime=>5, similarity_level=>45); } if ($method ne "unlock") { # When we do not just want to unlock the screen, we need to select a user. assert_and_click "login_$user"; - wait_still_screen 5; + wait_still_screen(stilltime=>5, similarity_level=>45); } if ($method eq "create") { # With users that do not have passwords, we need to make an extra round @@ -89,7 +89,7 @@ sub login_user { } type_very_safely "$password\n"; check_desktop(timeout=>60) if ($args{checklogin}); - wait_still_screen 5; + wait_still_screen(stilltime=>5, similarity_level=>45); } sub check_user_logged_in {