diff --git a/tests/remote_desktop_client.pm b/tests/remote_desktop_client.pm index e161059d..0ec72a05 100644 --- a/tests/remote_desktop_client.pm +++ b/tests/remote_desktop_client.pm @@ -19,6 +19,11 @@ sub run { # and lock parallel connection. mutex_lock("kaermorhen_opened"); + # Unlock the session if it has locked in the meantime. + if (check_screen("panel_screen_locked")) { + type_very_safely("$password\n"); + } + # Open the Connections and start the connection. menu_launch_type("connections"); wait_still_screen(3);