some waiting and screenshots to debug desktop_printing fails

desktop_printing is failing a lot in recent Rawhide (and so are
some other tests, but this one is nice and easy to target). Add
some wait_still_screens and save_screenshots to try and see
exactly what's going on when we exit gnome-text-editor before
switching to a VT.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-11-06 09:51:10 -08:00
parent e8fefb526b
commit e60a390db2
1 changed files with 4 additions and 0 deletions

View File

@ -81,8 +81,12 @@ sub run {
}
}
assert_and_click "printing_print";
wait_still_screen 5;
save_screenshot;
# Exit the application
send_key "alt-f4";
wait_still_screen 5;
save_screenshot;
# Get the name of the printed file. The path location depends
# on the selected method. We do this on a VT because there's