mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-24 03:03:08 +00:00
add KDE live default install test
Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D576
This commit is contained in:
parent
81bedd8de7
commit
7017486d43
@ -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;
|
||||
}
|
||||
|
||||
|
26
needles/graphical_login_sddm.json
Normal file
26
needles/graphical_login_sddm.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
BIN
needles/graphical_login_sddm.png
Normal file
BIN
needles/graphical_login_sddm.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 566 KiB |
19
needles/kde_live_anaconda_icon.json
Normal file
19
needles/kde_live_anaconda_icon.json
Normal 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": []
|
||||
}
|
BIN
needles/kde_live_anaconda_icon.png
Normal file
BIN
needles/kde_live_anaconda_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 803 KiB |
@ -1,6 +1,7 @@
|
||||
{
|
||||
"tags": [
|
||||
"live_initial_anaconda_launcher",
|
||||
"live_start_anaconda_icon",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-DESKTOP-gnome"
|
||||
],
|
||||
|
46
templates
46
templates
@ -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,7 +647,19 @@
|
||||
],
|
||||
variables => "",
|
||||
version => "*",
|
||||
}
|
||||
},
|
||||
{
|
||||
arch => "i386",
|
||||
distri => "fedora",
|
||||
flavor => "kde_live",
|
||||
name => "",
|
||||
settings => [
|
||||
{ key => "LIVE", value => "1" },
|
||||
{ key => "DESKTOP", value => "kde" }
|
||||
],
|
||||
variables => "",
|
||||
version => "*",
|
||||
}
|
||||
],
|
||||
TestSuites => [
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user