1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-27 08:03:08 +00:00

Check that RDP process is running after set-up

This commit is contained in:
Lukáš Růžička 2024-09-11 15:29:00 +02:00 committed by Adam Williamson
parent c410a9e98c
commit 4f6b3b4d7c

View File

@ -25,7 +25,8 @@ sub run {
# Open Settings and navigate to Remote Login # Open Settings and navigate to Remote Login
menu_launch_type("Settings"); menu_launch_type("Settings");
assert_and_click("gnome_icon_search"); send_key("ctrl-f");
sleep(2);
type_very_safely("system"); type_very_safely("system");
assert_and_click("settings_system"); assert_and_click("settings_system");
assert_and_click("settings_remote_desktop"); assert_and_click("settings_remote_desktop");
@ -48,6 +49,11 @@ sub run {
assert_and_click("gnome_reveil_password"); assert_and_click("gnome_reveil_password");
wait_still_screen(3); wait_still_screen(3);
send_key("alt-f4"); 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 { sub test_flags {