From 3067e0d223eb4ee672e552c2a92b606c877471fa Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 7 Jan 2020 08:09:12 -0800 Subject: [PATCH] Try and type safer in desktop_printing We're getting issues with KDE's crazy-slow alt-f2 behaviour here. So try and be even more conservative. Signed-off-by: Adam Williamson --- tests/desktop_printing.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/desktop_printing.pm b/tests/desktop_printing.pm index 0cb77e38..f130fe26 100644 --- a/tests/desktop_printing.pm +++ b/tests/desktop_printing.pm @@ -30,9 +30,9 @@ sub run { } # Open the text editor and print the file. - send_key "alt-f2"; + wait_screen_change { send_key "alt-f2"; }; wait_still_screen(stilltime=>5, similarity_level=>45); - type_safely "$editor /home/test/testfile.txt\n"; + type_very_safely "$editor /home/test/testfile.txt\n"; wait_still_screen(stilltime=>5, similarity_level=>44); # Print the file using the Cups-PDF printer send_key "ctrl-p";