mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
add ABRT logs uploading, sleep in lang selection
This commit is contained in:
parent
7eb9eaa090
commit
20504fa965
@ -7,12 +7,16 @@ sub post_fail_hook {
|
||||
my $self = shift;
|
||||
send_key "ctrl-alt-f2";
|
||||
if (check_screen "anaconda_console", 10) {
|
||||
upload_logs "/tmp/X.log"; # TODO: it can't type "X"
|
||||
upload_logs "/tmp/X.log";
|
||||
upload_logs "/tmp/anaconda.log";
|
||||
upload_logs "/tmp/packaging.log";
|
||||
upload_logs "/tmp/storage.log";
|
||||
upload_logs "/tmp/syslog";
|
||||
upload_logs "/tmp/program.log";
|
||||
|
||||
# Upload all ABRT logs
|
||||
type_string "cd /var/tmp/abrt && tar czvf abrt.tar.gz *";
|
||||
upload_logs "/var/tmp/abrt/abrt.tar.gz";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -43,12 +43,13 @@ sub run {
|
||||
{
|
||||
# Select install language
|
||||
assert_screen "anaconda_select_install_lang", 300;
|
||||
sleep 4; # TODO: sometimes, input box is not focused. check if this solves it
|
||||
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";
|
||||
|
||||
if ( get_var("VERSION") eq "rawhide") {
|
||||
if ( check_screen "anaconda_rawhide_accept_fate" ) {
|
||||
assert_and_click "anaconda_rawhide_accept_fate";
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use base "basetest";
|
||||
use base "anacondalog";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user