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

add KDE live default install test

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D576
This commit is contained in:
Jan Sedlák 2015-09-14 08:52:37 +02:00
parent 81bedd8de7
commit 7017486d43
8 changed files with 95 additions and 3 deletions

View File

@ -1,6 +1,8 @@
package fedoradistribution; package fedoradistribution;
use base 'distribution'; use base 'distribution';
use testapi;
# Fedora distribution class # Fedora distribution class
# Distro-specific functions, that are actually part of the API # Distro-specific functions, that are actually part of the API
@ -29,7 +31,7 @@ sub x11_start_program($$$) {
send_key "alt-f2"; send_key "alt-f2";
sleep 3; sleep 3;
type_string $program; type_string $program;
sleep 1; wait_idle 5; # because of KDE dialog - SUSE guys are doing the same!
send_key "ret", 1; send_key "ret", 1;
} }

View File

@ -0,0 +1,26 @@
{
"tags": [
"graphical_login",
"ENV-DESKTOP-kde",
"ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US",
"ENV-FLAVOR-kde_live"
],
"properties": [],
"area": [
{
"xpos": 7,
"ypos": 7,
"width": 54,
"height": 18,
"type": "match"
},
{
"xpos": 621,
"ypos": 591,
"width": 17,
"height": 23,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 KiB

View File

@ -0,0 +1,19 @@
{
"tags": [
"live_start_anaconda_icon",
"ENV-DESKTOP-kde",
"ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US",
"ENV-FLAVOR-kde_live"
],
"area": [
{
"xpos": 42,
"ypos": 43,
"width": 41,
"height": 33,
"type": "match"
}
],
"properties": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 KiB

View File

@ -1,6 +1,7 @@
{ {
"tags": [ "tags": [
"live_initial_anaconda_launcher", "live_initial_anaconda_launcher",
"live_start_anaconda_icon",
"ENV-DISTRI-fedora", "ENV-DISTRI-fedora",
"ENV-DESKTOP-gnome" "ENV-DESKTOP-gnome"
], ],

View File

@ -36,6 +36,16 @@
}, },
test_suite => { name => "default_install" }, test_suite => { name => "default_install" },
}, },
{
machine => { name => "64bit" },
product => {
arch => "x86_64",
distri => "fedora",
flavor => "kde_live",
version => "*",
},
test_suite => { name => "default_install" },
},
{ {
machine => { name => "64bit" }, machine => { name => "64bit" },
product => { product => {
@ -296,6 +306,16 @@
}, },
test_suite => { name => "default_install" }, test_suite => { name => "default_install" },
}, },
{
machine => { name => "32bit" },
product => {
arch => "i386",
distri => "fedora",
flavor => "generic_boot",
version => "*",
},
test_suite => { name => "kde_live" },
},
{ {
machine => { name => "32bit" }, machine => { name => "32bit" },
product => { product => {
@ -574,6 +594,18 @@
variables => "", variables => "",
version => "*", version => "*",
}, },
{
arch => "x86_64",
distri => "fedora",
flavor => "kde_live",
name => "",
settings => [
{ key => "LIVE", value => "1" },
{ key => "DESKTOP", value => "kde" }
],
variables => "",
version => "*",
},
{ {
arch => "i386", arch => "i386",
distri => "fedora", distri => "fedora",
@ -615,7 +647,19 @@
], ],
variables => "", variables => "",
version => "*", version => "*",
} },
{
arch => "i386",
distri => "fedora",
flavor => "kde_live",
name => "",
settings => [
{ key => "LIVE", value => "1" },
{ key => "DESKTOP", value => "kde" }
],
variables => "",
version => "*",
}
], ],
TestSuites => [ TestSuites => [
{ {

View File

@ -41,7 +41,7 @@ sub run {
{ {
# on lives, we have to explicitly launch anaconda # on lives, we have to explicitly launch anaconda
if (get_var('LIVE')) { if (get_var('LIVE')) {
assert_and_click "live_initial_anaconda_launcher", '', 300; assert_and_click "live_start_anaconda_icon", '', 300;
} }
# wait for anaconda to appear # wait for anaconda to appear
assert_screen "anaconda_select_install_lang", 300; assert_screen "anaconda_select_install_lang", 300;