1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-03-01 20:23:53 -08:00
parent 28a2d16417
commit 7ecba92fb5

View File

@ -75,12 +75,12 @@ sub login_user {
# but rather a "screensaver" screen for the DM. If this is the # but rather a "screensaver" screen for the DM. If this is the
# case, hit Escape to bring back the user list. # case, hit Escape to bring back the user list.
send_key "esc"; send_key "esc";
wait_still_screen 5; wait_still_screen(stilltime=>5, similarity_level=>45);
} }
if ($method ne "unlock") { if ($method ne "unlock") {
# When we do not just want to unlock the screen, we need to select a user. # When we do not just want to unlock the screen, we need to select a user.
assert_and_click "login_$user"; assert_and_click "login_$user";
wait_still_screen 5; wait_still_screen(stilltime=>5, similarity_level=>45);
} }
if ($method eq "create") { if ($method eq "create") {
# With users that do not have passwords, we need to make an extra round # 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"; type_very_safely "$password\n";
check_desktop(timeout=>60) if ($args{checklogin}); check_desktop(timeout=>60) if ($args{checklogin});
wait_still_screen 5; wait_still_screen(stilltime=>5, similarity_level=>45);
} }
sub check_user_logged_in { sub check_user_logged_in {