mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-17 18:51:26 +00:00
e000209967
Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D481
34 lines
780 B
Perl
34 lines
780 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
my $password = get_var("PASSWORD", "weakpassword");
|
|
|
|
# wait for GDM to appear
|
|
$self->boot_to_login_screen("graphical_login", 20);
|
|
|
|
# login as normal user
|
|
send_key "ret";
|
|
assert_screen "graphical_login_input";
|
|
type_string $password;
|
|
send_key "ret";
|
|
# wait until desktop appears
|
|
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:
|