desktop_printing: wait a bit after switching back from console

This test is failing a lot recently on KDE because when we try
to launch konsole immediately after returning from a console to
the desktop, it is mistyped and we get a browser instead. Let's
try a little sleep after the switch back in case KDE just needs
to settle down a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-02-27 10:17:38 -08:00
parent 614a2f5e5d
commit 10b7f66a02
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ sub run {
$term = "konsole";
}
# give the desktop a few seconds to settle, we seem to be getting
# a lot of mis-types in KDE if we do not, as of 2024-02
wait_still_screen(3);
# Let's open the terminal. We will use it to start the applications
# as well as to check for the name of the printed file.
menu_launch_type($term);