mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
41 lines
983 B
Perl
41 lines
983 B
Perl
use base "basetest";
|
|
use strict;
|
|
use testapi;
|
|
|
|
sub run {
|
|
# Wait for bootloader to appear
|
|
|
|
assert_screen "bootloader", 30;
|
|
|
|
if ( get_var("FLAVOR") eq "server")
|
|
{
|
|
# Skip the media check on DVD
|
|
send_key "up";
|
|
}
|
|
|
|
send_key "ret";
|
|
|
|
# Select install language
|
|
assert_screen "anaconda_select_install_lang", 300;
|
|
type_string "english";
|
|
assert_and_click "anaconda_select_install_lang_english_filtered";
|
|
assert_screen "anaconda_select_install_lang_english_selected", 3;
|
|
assert_and_click "anaconda_select_install_lang_continue";
|
|
|
|
# Anaconda hub
|
|
assert_screen "anaconda_main_hub", 300; #
|
|
}
|
|
|
|
|
|
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 { milestone => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|