mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 06:31:26 +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;
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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": [
|
"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"
|
||||||
],
|
],
|
||||||
|
46
templates
46
templates
@ -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 => [
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user