mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-24 03:03:08 +00:00
add package select minimal
This commit is contained in:
parent
fa41429d3e
commit
45ec446ba5
5
main.pm
5
main.pm
@ -30,6 +30,11 @@ else
|
||||
|
||||
unless (get_var("KICKSTART"))
|
||||
{
|
||||
# Select minimal flavor
|
||||
if (get_var("FLAVOR") eq "server") {
|
||||
autotest::loadtest get_var('CASEDIR')."/tests/_select_minimal.pm";
|
||||
}
|
||||
|
||||
## Disk partitioning
|
||||
if (get_var('DISK_GUIDED_EMPTY')){
|
||||
autotest::loadtest get_var('CASEDIR')."/tests/disk_guided_empty.pm";
|
||||
|
18
needles/anaconda_main_hub_select_packages.json
Normal file
18
needles/anaconda_main_hub_select_packages.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 690,
|
||||
"ypos": 354,
|
||||
"width": 195,
|
||||
"height": 27,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_main_hub_select_packages",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-INSTLANG-en_US",
|
||||
"ENV-OFW-1",
|
||||
"ENV-FLAVOR-server"
|
||||
]
|
||||
}
|
BIN
needles/anaconda_main_hub_select_packages.png
Normal file
BIN
needles/anaconda_main_hub_select_packages.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 100 KiB |
18
needles/anaconda_software_select_box.json
Normal file
18
needles/anaconda_software_select_box.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"tags": [
|
||||
"anaconda_software_select_box",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-INSTLANG-en_US",
|
||||
"ENV-OFW-1",
|
||||
"ENV-FLAVOR-server"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 50,
|
||||
"ypos": 189,
|
||||
"width": 96,
|
||||
"height": 18,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
BIN
needles/anaconda_software_select_box.png
Normal file
BIN
needles/anaconda_software_select_box.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 108 KiB |
36
tests/_select_minimal.pm
Normal file
36
tests/_select_minimal.pm
Normal file
@ -0,0 +1,36 @@
|
||||
use base "basetest";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
sub run {
|
||||
# Anaconda hub
|
||||
assert_screen "anaconda_main_hub", 300; #
|
||||
|
||||
assert_and_click "anaconda_main_hub_select_packages";
|
||||
|
||||
assert_and_click "anaconda_software_select_box";
|
||||
|
||||
for (my $i = 0; $i < 20; $i++) {
|
||||
send_key "down";
|
||||
}
|
||||
|
||||
send_key "spc";
|
||||
|
||||
assert_and_click "anaconda_spoke_done";
|
||||
|
||||
# Anaconda hub
|
||||
assert_screen "anaconda_main_hub", 50; #
|
||||
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
# without anything - rollback to 'lastgood' snapshot if failed
|
||||
# 'fatal' - whole test suite is in danger if this fails
|
||||
# 'milestone' - after this test succeeds, update 'lastgood'
|
||||
# 'important' - if this fails, set the overall state to 'fail'
|
||||
return { fatal => 1 };
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
Loading…
Reference in New Issue
Block a user