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;
use base 'distribution';
use testapi;
# Fedora distribution class
# Distro-specific functions, that are actually part of the API
@ -29,7 +31,7 @@ sub x11_start_program($$$) {
send_key "alt-f2";
sleep 3;
type_string $program;
sleep 1;
wait_idle 5; # because of KDE dialog - SUSE guys are doing the same!
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": [
"live_initial_anaconda_launcher",
"live_start_anaconda_icon",
"ENV-DISTRI-fedora",
"ENV-DESKTOP-gnome"
],

View File

@ -36,6 +36,16 @@
},
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" },
product => {
@ -296,6 +306,16 @@
},
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" },
product => {
@ -574,6 +594,18 @@
variables => "",
version => "*",
},
{
arch => "x86_64",
distri => "fedora",
flavor => "kde_live",
name => "",
settings => [
{ key => "LIVE", value => "1" },
{ key => "DESKTOP", value => "kde" }
],
variables => "",
version => "*",
},
{
arch => "i386",
distri => "fedora",
@ -615,6 +647,18 @@
],
variables => "",
version => "*",
},
{
arch => "i386",
distri => "fedora",
flavor => "kde_live",
name => "",
settings => [
{ key => "LIVE", value => "1" },
{ key => "DESKTOP", value => "kde" }
],
variables => "",
version => "*",
}
],
TestSuites => [

View File

@ -41,7 +41,7 @@ sub run {
{
# on lives, we have to explicitly launch anaconda
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
assert_screen "anaconda_select_install_lang", 300;