mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
base class for logging
This commit is contained in:
parent
235377708f
commit
e819d7f9bd
@ -7,7 +7,7 @@ sub post_fail_hook {
|
||||
my $self = shift;
|
||||
send_key "ctrl-alt-f2";
|
||||
if (check_screen "anaconda_console", 10) {
|
||||
upload_logs "/tmp/X.log";
|
||||
upload_logs "/tmp/X.log"; # TODO: it can't type "X"
|
||||
upload_logs "/tmp/anaconda.log";
|
||||
upload_logs "/tmp/packaging.log";
|
||||
upload_logs "/tmp/storage.log";
|
||||
|
@ -1,4 +1,4 @@
|
||||
use base "basetest";
|
||||
use base "anacondalog";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
|
@ -10,24 +10,27 @@ sub run {
|
||||
assert_and_click "anaconda_main_hub_begin_installation";
|
||||
|
||||
# Set root password
|
||||
my $root_password = get_var("ROOT_PASSWORD") || "weakpassword";
|
||||
assert_and_click "anaconda_install_root_password";
|
||||
type_string "weakpassword";
|
||||
type_string $root_password;
|
||||
send_key "tab";
|
||||
type_string "weakpassword";
|
||||
type_string $root_password;
|
||||
assert_and_click "anaconda_spoke_done";
|
||||
# weak password - click "done" once again"
|
||||
#assert_and_click "anaconda_spoke_done";
|
||||
|
||||
# Set user details
|
||||
my $user_login = get_var("USER_LOGIN") || "test";
|
||||
my $user_password = get_var("USER_PASSWORD") || "weakpassword";
|
||||
assert_and_click "anaconda_install_user_creation";
|
||||
type_string "test";
|
||||
type_string $user_login;
|
||||
send_key "tab";
|
||||
send_key "tab";
|
||||
send_key "tab";
|
||||
send_key "tab";
|
||||
type_string "weakpassword";
|
||||
type_string $user_password;
|
||||
send_key "tab";
|
||||
type_string "weakpassword";
|
||||
type_string $user_password;
|
||||
assert_and_click "anaconda_install_user_creation_make_admin";
|
||||
assert_and_click "anaconda_spoke_done";
|
||||
# weak password - click "done" once again"
|
||||
|
@ -1,4 +1,4 @@
|
||||
use base "basetest";
|
||||
use base "anacondalog";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use base "basetest";
|
||||
use base "anacondalog";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use base "basetest";
|
||||
use base "anacondalog";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use base "basetest";
|
||||
use base "anacondalog";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use base "basetest";
|
||||
use base "anacondalog";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use base "basetest";
|
||||
use base "anacondalog";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use base "basetest";
|
||||
use base "anacondalog";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user