From 71368079bbf1c26770fcf32e69cf96611826437b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Fri, 1 Aug 2025 16:04:16 +0200 Subject: [PATCH] unlock session when locked --- tests/remote_desktop_client.pm | 5 +++++ 1 file changed, 5 insertions(+) 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);