Work on KDE version.

This commit is contained in:
Lukáš Růžička 2024-05-07 08:15:36 +02:00 committed by Lukas Ruzicka
parent 015da735cf
commit 5a14a27ced
1 changed files with 22 additions and 2 deletions

View File

@ -31,7 +31,27 @@ sub connect_localhost {
send_key("alt-f4");
}
else {
die("Unknown desktop");
menu_launch_type("dolphin");
assert_screen("dolphin_runs");
assert_and_click("dolphin_explore_network");
assert_and_click("dolphin_add_network_folder");
assert_and_click("dolphin_rbutton_ssh");
assert_and_click("kde_button_next");
type_very_safely("SSH folder");
send_key("tab");
type_very_safely($user);
send_key("tab");
type_very_safely("127.0.0.1");
for my $i (1..3) {
send_key("tab");
}
type_very_safely("/");
assert_and_click("dolphin_save_and_connect");
assert_and_click("kde_dismiss_notification");
assert_and_click("dolphin_dont_askagain");
assert_and_click("dolphin_connect_anyway");
assert_screen("dolphin_network_ssh_connected");
}
}
@ -70,7 +90,7 @@ sub run {
my $user = get_var("USER_LOGIN", "test");
my $pass = get_var("USER_PASSWORD", "weakpassword");
enter_cmd("echo 'Starting test.'");
enter_cmd("echo 'Starting test for keyring_password.'");
# We are still at the root console, but for the following steps,
# there is nothing we should be doing there, so we switch back