os-autoinst-distri-fedora/tests/_select_minimal.pm

37 lines
761 B
Perl
Raw Normal View History

2015-02-03 14:02:52 +00:00
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: