mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 07:13:09 +00:00
Compare commits
3 Commits
f384cef564
...
2f6afefbb2
Author | SHA1 | Date | |
---|---|---|---|
|
2f6afefbb2 | ||
|
c65071f879 | ||
|
52f3897eec |
@ -475,8 +475,8 @@ sub get_workarounds {
|
|||||||
my %workarounds = (
|
my %workarounds = (
|
||||||
"39" => [],
|
"39" => [],
|
||||||
"40" => [],
|
"40" => [],
|
||||||
"41" => ["FEDORA-2024-e331cd53ac", "FEDORA-2024-cb1e9f47a3"],
|
"41" => ["FEDORA-2024-04f83605fa"],
|
||||||
"42" => ["124312792"],
|
"42" => [],
|
||||||
"eln" => [],
|
"eln" => [],
|
||||||
);
|
);
|
||||||
my $advortasks = $workarounds{$version};
|
my $advortasks = $workarounds{$version};
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 226,
|
|
||||||
"ypos": 271,
|
|
||||||
"width": 164,
|
|
||||||
"height": 19,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"keyring_askpass_password"
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 734 KiB |
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"height": 21,
|
||||||
|
"width": 170,
|
||||||
|
"ypos": 240,
|
||||||
|
"xpos": 550,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"keyring_askpass_yesno"
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 473 KiB |
@ -10,6 +10,8 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"nautilus_autounlock_password"
|
"nautilus_autounlock_password",
|
||||||
|
"keyring_askpass_remember",
|
||||||
|
"DESKTOP-gnome"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"nautilus_remember_password"
|
"nautilus_remember_password",
|
||||||
|
"keyring_askpass_remember",
|
||||||
|
"DESKTOP-gnome"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"nautilus_unlock"
|
"nautilus_unlock",
|
||||||
|
"keyring_askpass_confirm",
|
||||||
|
"DESKTOP-gnome"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"nautilus_unlock"
|
"nautilus_unlock",
|
||||||
|
"keyring_askpass_confirm",
|
||||||
|
"DESKTOP-gnome"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"keyring_askpass_confirm"
|
"keyring_askpass_confirm",
|
||||||
|
"DESKTOP-kde"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 379,
|
|
||||||
"ypos": 322,
|
|
||||||
"width": 167,
|
|
||||||
"height": 19,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"keyring_askpass_password"
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 374 KiB |
@ -10,6 +10,7 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"keyring_askpass_remember"
|
"keyring_askpass_remember",
|
||||||
|
"DESKTOP-kde"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"keyring_askpass_yesno"
|
"keyring_askpass_yesno",
|
||||||
|
"DESKTOP-kde"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
],
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"keyring_askpass_yesno"
|
"keyring_askpass_yesno",
|
||||||
|
"DESKTOP-kde"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -46,10 +46,10 @@ sub connect_localhost {
|
|||||||
# in the password. We will also try to remember the
|
# in the password. We will also try to remember the
|
||||||
# password and confirm the connection.
|
# password and confirm the connection.
|
||||||
if ($type ne "reconnect") {
|
if ($type ne "reconnect") {
|
||||||
wait_still_screen(3);
|
assert_screen("keyring_askpass_remember");
|
||||||
type_very_safely($pass);
|
type_very_safely($pass);
|
||||||
assert_and_click("nautilus_remember_password");
|
click_lastmatch;
|
||||||
assert_and_click("nautilus_unlock");
|
assert_and_click("keyring_askpass_confirm");
|
||||||
}
|
}
|
||||||
# When the connection has been established,
|
# When the connection has been established,
|
||||||
# a new connection icon will appear.
|
# a new connection icon will appear.
|
||||||
@ -83,9 +83,9 @@ sub connect_localhost {
|
|||||||
# Then similarly to Gnome, the password dialogue will appear
|
# Then similarly to Gnome, the password dialogue will appear
|
||||||
# and we type in the password. Also, we click on Remember
|
# and we type in the password. Also, we click on Remember
|
||||||
# and confirm with the OK button.
|
# and confirm with the OK button.
|
||||||
assert_screen("keyring_askpass_password");
|
assert_screen("keyring_askpass_remember");
|
||||||
type_very_safely("$pass");
|
type_very_safely("$pass");
|
||||||
assert_and_click("keyring_askpass_remember");
|
click_lastmatch;
|
||||||
assert_and_click("keyring_askpass_confirm");
|
assert_and_click("keyring_askpass_confirm");
|
||||||
}
|
}
|
||||||
# Check that we have logged in and exit the application.
|
# Check that we have logged in and exit the application.
|
||||||
|
@ -46,25 +46,16 @@ sub connect_localhost {
|
|||||||
# the SSH key.
|
# the SSH key.
|
||||||
my $command = "sftp $user" . '@localhost';
|
my $command = "sftp $user" . '@localhost';
|
||||||
enter_cmd($command);
|
enter_cmd($command);
|
||||||
sleep 2;
|
|
||||||
|
|
||||||
# When connecting for the first time, we will remember
|
# When connecting for the first time, we will remember
|
||||||
# the key password and store it in the keyring.
|
# the key password and store it in the keyring.
|
||||||
if ($type ne "reconnect") {
|
if ($type ne "reconnect") {
|
||||||
if ($desktop eq "gnome") {
|
assert_screen("keyring_askpass_yesno");
|
||||||
type_very_safely("yes\n");
|
type_very_safely("yes\n");
|
||||||
wait_still_screen(2);
|
assert_screen("keyring_askpass_remember");
|
||||||
type_very_safely("sshpassword");
|
type_very_safely("sshpassword");
|
||||||
assert_and_click("nautilus_autounlock_password");
|
click_lastmatch;
|
||||||
assert_and_click("nautilus_unlock");
|
assert_and_click("keyring_askpass_confirm");
|
||||||
}
|
|
||||||
else {
|
|
||||||
type_very_safely("yes\n");
|
|
||||||
wait_still_screen(2);
|
|
||||||
type_very_safely("sshpassword");
|
|
||||||
assert_and_click("keyring_askpass_remember");
|
|
||||||
assert_and_click("keyring_askpass_confirm");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# The connection should have been established if everything has worked
|
# The connection should have been established if everything has worked
|
||||||
|
Loading…
Reference in New Issue
Block a user