mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-23 22:43:07 +00:00
Make slight changes to the Freerdp test.
This commit is contained in:
parent
afef673774
commit
a2df17a86c
@ -22,17 +22,25 @@ sub run {
|
|||||||
|
|
||||||
# Open terminal and make a connection to the remote server.
|
# Open terminal and make a connection to the remote server.
|
||||||
menu_launch_type("terminal");
|
menu_launch_type("terminal");
|
||||||
wait_still_screen(2);
|
wait_still_screen(3);
|
||||||
enter_cmd("xfreerdp /:u $user /:p $password /:v $ip");
|
enter_cmd("xfreerdp /:u $user /:p $password /:v $ip");
|
||||||
|
|
||||||
# Check that a connection window has appeared.
|
# Check that a connection window has appeared.
|
||||||
assert_screen("freerdp_connection_window");
|
assert_screen("connection_window");
|
||||||
|
|
||||||
# Perform login, start terminal and check the hostname.
|
# Log onto the system.
|
||||||
assert_and_check("freerdp_login_screen");
|
assert_and_check("connection_login_screen");
|
||||||
send_key("ret");
|
send_key("ret");
|
||||||
sleep(2);
|
sleep(2);
|
||||||
type_very_safely($syspw);
|
type_very_safely("$syspw\n");
|
||||||
|
wait_still_screen(2);
|
||||||
|
|
||||||
|
# Start the terminal
|
||||||
|
type_very_safely("terminal\n");
|
||||||
|
wait_still_screen(3);
|
||||||
|
|
||||||
|
# Check that we are on the correct computer.
|
||||||
|
# We can tell from the terminal prompt.
|
||||||
assert_screen("freerdp_desktop_connected");
|
assert_screen("freerdp_desktop_connected");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user