1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

another bunch of tests

This commit is contained in:
Josef Skladanka 2015-01-30 10:35:13 +01:00
parent f346b08792
commit f9e75e315c
15 changed files with 147 additions and 118 deletions

11
main.pm
View File

@ -19,6 +19,13 @@ use testapi;
use autotest; use autotest;
# Boot to anaconda Hub in English # Boot to anaconda Hub in English
if (get_var("ENTRYPOINT"))
{
autotest::loadtest get_var('CASEDIR')."/tests/".get_var("ENTRYPOINT").".pm";
}
else
{
autotest::loadtest get_var('CASEDIR')."/tests/_boot_to_anaconda.pm"; autotest::loadtest get_var('CASEDIR')."/tests/_boot_to_anaconda.pm";
unless (get_var("KICKSTART")) unless (get_var("KICKSTART"))
@ -45,6 +52,10 @@ if (get_var('DISK_GUIDED_MULTI'))
{ {
autotest::loadtest get_var('CASEDIR')."/tests/disk_guided_multi_postinstall.pm"; autotest::loadtest get_var('CASEDIR')."/tests/disk_guided_multi_postinstall.pm";
} }
}
1; 1;
# vim: set sw=4 et: # vim: set sw=4 et:

View File

@ -1,17 +1,17 @@
{ {
"tags": [
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US",
"anaconda_install_finish"
],
"area": [ "area": [
{ {
"xpos": 905, "type": "match",
"ypos": 679, "width": 76,
"width": 96, "xpos": 941,
"height": 48, "ypos": 686,
"type": "match" "height": 33
} }
],
"tags": [
"anaconda_install_finish",
"ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US",
"ENV-FLAVOR-server"
] ]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

@ -1,52 +1,59 @@
{ {
"area": [
{
"xpos": 168,
"ypos": 7,
"width": 227,
"height": 57,
"type": "match"
},
{
"xpos": 294,
"ypos": 139,
"width": 123,
"height": 31,
"type": "match"
},
{
"xpos": 693,
"ypos": 135,
"width": 101,
"height": 33,
"type": "match"
},
{
"xpos": 299,
"ypos": 207,
"width": 180,
"height": 33,
"type": "match"
},
{
"xpos": 297,
"ypos": 328,
"width": 203,
"height": 38,
"type": "match"
},
{
"xpos": 294,
"ypos": 443,
"width": 252,
"height": 40,
"type": "match"
}
],
"tags": [ "tags": [
"anaconda_main_hub", "anaconda_main_hub",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora", "ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US" "ENV-INSTLANG-en_US",
"ENV-FLAVOR-server"
],
"area": [
{
"width": 227,
"height": 57,
"xpos": 168,
"ypos": 7,
"type": "match"
},
{
"height": 33,
"ypos": 153,
"xpos": 266,
"width": 101,
"type": "match"
},
{
"width": 180,
"height": 33,
"xpos": 699,
"ypos": 155,
"type": "match"
},
{
"width": 203,
"height": 38,
"ypos": 346,
"xpos": 267,
"type": "match"
},
{
"type": "match",
"height": 40,
"ypos": 461,
"xpos": 264,
"width": 252
},
{
"height": 18,
"ypos": 236,
"xpos": 272,
"width": 36,
"type": "match"
},
{
"type": "match",
"height": 13,
"ypos": 240,
"xpos": 330,
"width": 40
}
] ]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 100 KiB

View File

@ -1,17 +1,17 @@
{ {
"area": [
{
"xpos": 333,
"ypos": 80,
"width": 180,
"height": 47,
"type": "match"
}
],
"tags": [ "tags": [
"anaconda_select_install_lang", "anaconda_select_install_lang",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora", "ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US" "ENV-INSTLANG-en_US",
"ENV-FLAVOR-server"
],
"area": [
{
"height": 28,
"ypos": 110,
"xpos": 332,
"width": 88,
"type": "match"
}
] ]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

View File

@ -2,9 +2,9 @@
"area": [ "area": [
{ {
"xpos": 203, "xpos": 203,
"ypos": 170, "ypos": 188,
"width": 389,
"height": 100, "height": 100,
"width": 349,
"type": "match" "type": "match"
} }
], ],

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

@ -1,24 +1,24 @@
{ {
"area": [
{
"xpos": 201,
"ypos": 176,
"type": "match",
"width": 380,
"height": 51
},
{
"xpos": 593,
"ypos": 172,
"type": "match",
"height": 70,
"width": 377
}
],
"tags": [ "tags": [
"anaconda_select_install_lang_english_selected", "anaconda_select_install_lang_english_selected",
"ENV-DESKTOP-default", "ENV-DESKTOP-default",
"ENV-DISTRI-fedora", "ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US" "ENV-INSTLANG-en_US"
],
"area": [
{
"type": "match",
"height": 51,
"ypos": 194,
"xpos": 200,
"width": 356
},
{
"type": "match",
"xpos": 593,
"ypos": 190,
"height": 70,
"width": 349
}
] ]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 101 KiB

View File

@ -1,24 +1,31 @@
{ {
"area": [ "area": [
{ {
"xpos": 77, "type": "match",
"ypos": 204, "width": 53,
"width": 182, "height": 24,
"height": 29, "xpos": 249,
"ypos": 147
},
{
"width": 114,
"height": 17,
"ypos": 216,
"xpos": 86,
"type": "match" "type": "match"
}, },
{ {
"xpos": 68, "xpos": 78,
"ypos": 231, "ypos": 232,
"width": 335, "height": 20,
"height": 17, "width": 264,
"type": "match" "type": "match"
} }
], ],
"tags": [ "tags": [
"bootloader", "bootloader",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora", "ENV-DISTRI-fedora",
"ENV-INSTLANG-en_US" "ENV-INSTLANG-en_US",
"ENV-FLAVOR-server"
] ]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -39,6 +39,10 @@ sub run {
assert_screen "anaconda_select_install_lang_english_selected", 3; assert_screen "anaconda_select_install_lang_english_selected", 3;
assert_and_click "anaconda_select_install_lang_continue"; assert_and_click "anaconda_select_install_lang_continue";
if ( get_var("VERSION") eq "rawhide") {
assert_and_click "anaconda_rawhide_accept_fate";
}
# Anaconda hub # Anaconda hub
assert_screen "anaconda_main_hub", 300; # assert_screen "anaconda_main_hub", 300; #
} }

View File

@ -6,11 +6,11 @@ sub run {
# Anaconda hub # Anaconda hub
assert_screen "anaconda_main_hub", 300; # assert_screen "anaconda_main_hub", 300; #
# 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";
assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_spoke_done";
# the only provided disk should be full
assert_and_click "anaconda_install_destination_reclaim_space_btn"; assert_and_click "anaconda_install_destination_reclaim_space_btn";
assert_and_click "anaconda_install_destination_delete_all_btn"; assert_and_click "anaconda_install_destination_delete_all_btn";