Test Suites & docs

This commit is contained in:
Josef Skladanka 2015-01-26 14:39:49 +01:00
parent ab6aea3cb2
commit 3554aac35f
8 changed files with 35 additions and 17 deletions

View File

@ -30,7 +30,7 @@
* no swap
# user interface
* graphical implicitne
* interface graphical
* text?
# installation repositories

19
TestSuites.md Normal file
View File

@ -0,0 +1,19 @@
# server_simple
## TESTS
// get anaconda
* disk_guided_empty
// start installatin & reboot
// wait for login screen
## QEMU-vars
## Covered testcases
* server offline
* virtio
* guided empty
* interface graphical
* anaconda user creation

View File

@ -44,9 +44,9 @@
}
],
"tags": [
"anaconda_main_hub",
"anaconda_main_hub_server",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US"
]
}
}

View File

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 101 KiB

View File

@ -16,9 +16,9 @@
}
],
"tags": [
"bootloader",
"bootloader_server",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US"
]
}
}

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -7,14 +7,14 @@
{
JobTemplates => [
{
machine => { name => "32bit" },
machine => { name => "64bit" },
product => {
arch => "x86_64",
distri => "opensuse",
flavor => "Promo-DVD-OpenSourcePress",
version => "Factory",
distri => "fedora",
flavor => "server",
version => "rawhide",
},
test_suite => { name => "gnome-live" },
test_suite => { name => "Server Simple" },
},
],
Machines => [
@ -115,12 +115,11 @@
],
TestSuites => [
{
name => "RAID0",
name => "Server Simple",
prio => 50,
settings => [
{ key => "DESKTOP", value => "kde" },
{ key => "INSTALLONLY", value => 1 },
{ key => "RAIDLEVEL", value => 0 },
{ key => "HDDMODEL", value => "virtio-blk" },
{ key => "PRODUCTNAME", value => "server" },
],
variables => "",
},

View File

@ -4,12 +4,12 @@ use testapi;
sub run {
# Wait for bootloader to appear
assert_screen "bootloader", 30;
assert_screen "bootloader_".get_var("FLAVOR"), 30;
# Skip the media check
send_key "up";
send_key "ret";
# Select install language
assert_screen "anaconda_select_install_lang", 300;
type_string "english";
@ -18,7 +18,7 @@ sub run {
assert_and_click "anaconda_select_install_lang_continue";
# Anaconda hub
assert_screen "anaconda_main_hub", 300;
assert_screen "anaconda_main_hub_".get_var("FLAVOR"), 300; #
# Default install destination (hdd should be empty for new KVM machine)
assert_and_click "anaconda_main_hub_install_destination";