From 5f01d00bea61d0c0d77f4c95ae30d16db5d6e635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Wed, 11 Sep 2024 15:29:00 +0200 Subject: [PATCH] Check that RDP process is running after set-up --- tests/remote_desktop_server.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/remote_desktop_server.pm b/tests/remote_desktop_server.pm index 12f192c4..4e47504d 100644 --- a/tests/remote_desktop_server.pm +++ b/tests/remote_desktop_server.pm @@ -25,7 +25,8 @@ sub run { # Open Settings and navigate to Remote Login menu_launch_type("Settings"); - assert_and_click("gnome_icon_search"); + send_key("ctrl-f"); + sleep(2); type_very_safely("system"); assert_and_click("settings_system"); assert_and_click("settings_remote_desktop"); @@ -48,6 +49,11 @@ sub run { assert_and_click("gnome_reveil_password"); wait_still_screen(3); send_key("alt-f4"); + + # Check that the service is running. + $self->root_console(tty => 3); + assert_script_run("ps aux | grep rdp", timeout => 10); + } sub test_flags {