mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-24 03:38:31 +00:00
Test Suites & docs
This commit is contained in:
parent
ab6aea3cb2
commit
3554aac35f
@ -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
19
TestSuites.md
Normal 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
|
||||||
|
|
||||||
|
|
@ -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"
|
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 101 KiB |
@ -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"
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
@ -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 => "",
|
||||||
},
|
},
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user