mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-01-17 22:23:09 +00:00
Tweak desktop_login to workaround #2335913
Close the kicker menu if it's still open. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
da61368f0d
commit
08660df950
@ -127,7 +127,13 @@ sub check_user_logged_in {
|
||||
my $exitkey = "alt-f4";
|
||||
$exitkey = "shift-ctrl-q" if ($desktop eq "i3");
|
||||
desktop_launch_terminal unless ($args{termopen});
|
||||
assert_screen("apps_run_terminal");
|
||||
# the leave_button check is a workaround for
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2335913
|
||||
assert_screen(["apps_run_terminal", "leave_button"]);
|
||||
if (match_has_tag("leave_button")) {
|
||||
send_key("esc");
|
||||
assert_screen("apps_run_terminal");
|
||||
}
|
||||
assert_script_run('[ $(whoami) = "' . "$user\" ]");
|
||||
send_key $exitkey unless ($args{keepterm});
|
||||
wait_still_screen 5;
|
||||
|
Loading…
Reference in New Issue
Block a user