mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-12 09:54:21 +00:00
add necessary needles and fix code for KDE upgrade tests
Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D837
This commit is contained in:
parent
ba90ef631a
commit
d4466100d4
17
needles/graphical_login_sddm_input.json
Normal file
17
needles/graphical_login_sddm_input.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 422,
|
||||||
|
"ypos": 445,
|
||||||
|
"width": 78,
|
||||||
|
"height": 17,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"DESKTOP-kde",
|
||||||
|
"LANGUAGE-english",
|
||||||
|
"graphical_login_input"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/graphical_login_sddm_input.png
Normal file
BIN
needles/graphical_login_sddm_input.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 406 KiB |
17
needles/kde_desktop_clean.json
Normal file
17
needles/kde_desktop_clean.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"DESKTOP-kde",
|
||||||
|
"LANGUAGE-english",
|
||||||
|
"graphical_desktop_clean"
|
||||||
|
],
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 3,
|
||||||
|
"ypos": 739,
|
||||||
|
"width": 26,
|
||||||
|
"height": 26,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/kde_desktop_clean.png
Normal file
BIN
needles/kde_desktop_clean.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 471 KiB |
@ -7,16 +7,18 @@ sub run {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $password = get_var("USER_PASSWORD", "weakpassword");
|
my $password = get_var("USER_PASSWORD", "weakpassword");
|
||||||
|
|
||||||
# wait for GDM to appear
|
# wait for DM to appear
|
||||||
$self->boot_to_login_screen("graphical_login", 20);
|
$self->boot_to_login_screen("graphical_login", 20);
|
||||||
|
|
||||||
# login as normal user
|
# login as normal user
|
||||||
send_key "ret";
|
if (get_var("DESKTOP") eq 'gnome') {
|
||||||
|
send_key "ret";
|
||||||
|
}
|
||||||
assert_screen "graphical_login_input";
|
assert_screen "graphical_login_input";
|
||||||
type_string $password;
|
type_string $password;
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
# wait until desktop appears
|
# wait until desktop appears
|
||||||
assert_screen "graphical_desktop_clean", 30;
|
assert_screen "graphical_desktop_clean", 60;
|
||||||
# check an upgrade actually happened (and we can log into a console)
|
# check an upgrade actually happened (and we can log into a console)
|
||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>3);
|
||||||
$self->check_release(lc(get_var('VERSION')));
|
$self->check_release(lc(get_var('VERSION')));
|
||||||
|
Loading…
Reference in New Issue
Block a user