os-autoinst-distri-rocky/tests/upgrade_postinstall_desktop.pm
2015-07-17 12:52:56 +02:00

31 lines
687 B
Perl

use base "fedoralog";
use strict;
use testapi;
sub run {
my $self = shift;
my $password = get_var("PASSWORD", "weakpassword");
$self->boot_to_login_screen("graphical_login", 20);
send_key "ret";
assert_screen "graphical_login_input";
type_string $password;
send_key "ret";
assert_screen "graphical_desktop_clean", 30;
}
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: