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 * no swap
# user interface # user interface
* graphical implicitne * interface graphical
* text? * text?
# installation repositories # 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,7 +44,7 @@
} }
], ],
"tags": [ "tags": [
"anaconda_main_hub", "anaconda_main_hub_server",
"ENV-DESKTOP-default", "ENV-DESKTOP-default",
"ENV-DISTRI-fedora", "ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US" "ENV-INSTLANG-en_US"

View File

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 101 KiB

View File

@ -16,7 +16,7 @@
} }
], ],
"tags": [ "tags": [
"bootloader", "bootloader_server",
"ENV-DESKTOP-default", "ENV-DESKTOP-default",
"ENV-DISTRI-fedora", "ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US" "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 => [ JobTemplates => [
{ {
machine => { name => "32bit" }, machine => { name => "64bit" },
product => { product => {
arch => "x86_64", arch => "x86_64",
distri => "opensuse", distri => "fedora",
flavor => "Promo-DVD-OpenSourcePress", flavor => "server",
version => "Factory", version => "rawhide",
}, },
test_suite => { name => "gnome-live" }, test_suite => { name => "Server Simple" },
}, },
], ],
Machines => [ Machines => [
@ -115,12 +115,11 @@
], ],
TestSuites => [ TestSuites => [
{ {
name => "RAID0", name => "Server Simple",
prio => 50, prio => 50,
settings => [ settings => [
{ key => "DESKTOP", value => "kde" }, { key => "HDDMODEL", value => "virtio-blk" },
{ key => "INSTALLONLY", value => 1 }, { key => "PRODUCTNAME", value => "server" },
{ key => "RAIDLEVEL", value => 0 },
], ],
variables => "", variables => "",
}, },

View File

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