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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-01-07 08:09:12 -08:00
parent e3430e82ef
commit 3067e0d223

View File

@ -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";