1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-01 22:14:22 +00:00
os-autoinst-distri-fedora/tests/applications/gnome-panel/logout.pm
2023-04-06 15:50:43 -07:00

28 lines
543 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This part of the suite Tests that the panel
# can be used to log out from the session.
sub run {
my $self = shift;
# Click on the controls.
assert_and_click("panel_controls");
# Click on Lock screen button to lock the screen
assert_and_click("leave_button");
assert_and_click("log_out_entry");
assert_and_click("log_out_confirm");
assert_screen("login_screen");
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: