Try and avoid launcher typing issues in more KDE tests

This is the same thing we do for the app_startstop tests in
aaa_setup, applied to a couple of other places we use
menu_launch_type in KDE and it's having trouble.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-05-03 14:22:59 -07:00
parent d142d2f4a1
commit 1edde53988
2 changed files with 16 additions and 0 deletions

View File

@ -23,6 +23,13 @@ sub run {
# run the updater
if ($desktop eq 'kde') {
# try and avoid double-typing issues, same way we do
# for apps_startstop test
wait_screen_change { send_key 'super'; };
wait_still_screen 3;
send_key "k";
wait_still_screen 5;
send_key "esc";
menu_launch_type('discover');
# Wait for it to run and maximize it to make sure we see the
# Updates entry

View File

@ -41,6 +41,15 @@ sub run {
}
# Let's check, that the desktop is shown.
check_desktop();
# On KDE, try and avoid double-typing issues, same way we do
# for apps_startstop test
if ($desktop eq "kde") {
wait_screen_change { send_key 'super'; };
wait_still_screen 3;
send_key "k";
wait_still_screen 5;
send_key "esc";
}
# Start the package manager application depending
# on which DE we are on.