Skip to content

Commit

Permalink
Increase assert_screen timeout for ensure_unlocked_desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiasyria committed Nov 13, 2021
1 parent 010ae91 commit 9527696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/x11utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ sub ensure_unlocked_desktop {
if ((match_has_tag 'displaymanager-password-prompt') || (match_has_tag 'screenlock-password')) {
if ($password ne '') {
type_password;
assert_screen [qw(locked_screen-typed_password login_screen-typed_password generic-desktop)];
assert_screen [qw(locked_screen-typed_password login_screen-typed_password generic-desktop), timeout => 100];
next if match_has_tag 'generic-desktop';
}
send_key 'ret';
Expand Down

0 comments on commit 9527696

Please sign in to comment.