1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Add some extra steps for KDE to overcome BZ2097208.

This commit is contained in:
Lukáš Růžička 2022-06-15 09:50:51 +02:00
parent b702f8ebcd
commit 7637238951

View File

@ -1196,10 +1196,18 @@ sub menu_launch_type {
# launcher, typing the specified string and hitting enter. Pass
# the string to be typed to launch whatever it is you want.
my $app = shift;
# To overcome BZ2097208, let's move the mouse out of the way
# and give the launcher some time to take the correct focus.
if (get_var("DESKTOP") eq "kde") {
diag("Moving the mouse away from the launcher.");
mouse_set(1, 1);
}
send_key 'super';
# srsly KDE y u so slo
wait_still_screen 3;
type_very_safely $app;
# Wait for KDE to place focus correctly.
sleep 2;
send_key 'ret';
}