2015-05-13 11:00:46 +00:00
|
|
|
use base "fedoralog";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
|
2015-07-17 10:52:56 +00:00
|
|
|
|
2015-05-13 11:00:46 +00:00
|
|
|
sub run {
|
2015-07-15 05:00:47 +00:00
|
|
|
my $self = shift;
|
2015-07-17 10:52:56 +00:00
|
|
|
my $password = get_var("PASSWORD", "weakpassword");
|
2015-07-15 05:00:47 +00:00
|
|
|
|
2015-07-17 10:52:56 +00:00
|
|
|
$self->boot_to_login_screen("graphical_login", 20);
|
2015-05-13 11:00:46 +00:00
|
|
|
|
|
|
|
send_key "ret";
|
2015-07-17 10:52:56 +00:00
|
|
|
assert_screen "graphical_login_input";
|
|
|
|
type_string $password;
|
2015-05-13 11:00:46 +00:00
|
|
|
send_key "ret";
|
2015-07-17 10:52:56 +00:00
|
|
|
assert_screen "graphical_desktop_clean", 30;
|
2015-05-13 11:00:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
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:
|